class PluginEventHandler extends AbstractEntity

PluginEventHandler

Constants

EVENT_PRIORITY_LATEST

EVENT_PRIORITY_DISABLED

EVENT_PRIORITY_NORMAL_START

EVENT_PRIORITY_NORMAL_END

EVENT_PRIORITY_FIRST_START

EVENT_PRIORITY_FIRST_END

EVENT_PRIORITY_LAST_START

EVENT_PRIORITY_LAST_END

EVENT_HANDLER_TYPE_NORMAL

EVENT_HANDLER_TYPE_FIRST

EVENT_HANDLER_TYPE_LAST

Methods

offsetExists($offset)

No description

offsetSet($offset, $value)

No description

offsetGet($offset)

No description

offsetUnset($offset)

No description

setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

object
copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

integer
getId()

Get id

setEvent(string $event)

Set event

string
getEvent()

Get event

setPriority(int $priority)

Set priority

int
getPriority()

Get priority

setPluginId(int $pluginId)

Set plugin_id

int
getPluginId()

Get plugin_id

setDelFlg(integer $delFlg)

Set del_flg

integer
getDelFlg()

Get del_flg

setHandler(string $handler)

Set handler

string
getHandler()

Get handler

setCreateDate(DateTime $createDate)

Set create_date

getCreateDate()

Get create_date

setHandlerType($handlerType)

No description

getHandlerType()

No description

setUpdateDate(DateTime $updateDate)

Set update_date

getUpdateDate()

Get update_date

getPlugin()

No description

setPlugin(Plugin $Plugin)

No description

Details

in AbstractEntity at line 32
offsetExists($offset)

Parameters

$offset

in AbstractEntity at line 39
offsetSet($offset, $value)

Parameters

$offset
$value

in AbstractEntity at line 43
offsetGet($offset)

Parameters

$offset

in AbstractEntity at line 54
offsetUnset($offset)

Parameters

$offset

in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

DBから取り出した連想配列を, プロパティへ設定する際に使用します.

Parameters

array $arrProps
array $excludeAttribute
ReflectionClass $parentClass

in AbstractEntity at line 99
array toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.

Parameters

array $excludeAttribute
ReflectionClass $parentClass

Return Value

array 連想配列のプロパティの値

in AbstractEntity at line 139
object copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

Parameters

object $srcObject コピー元のオブジェクト
array $excludeAttribute 除外したいフィールド名の配列

Return Value

object

at line 100
integer getId()

Get id

Return Value

integer

at line 111
PluginEventHandler setEvent(string $event)

Set event

Parameters

string $event

Return Value

PluginEventHandler

at line 123
string getEvent()

Get event

Return Value

string

at line 134
PluginEventHandler setPriority(int $priority)

Set priority

Parameters

int $priority

Return Value

PluginEventHandler

at line 146
int getPriority()

Get priority

Return Value

int

at line 157
PluginEventHandler setPluginId(int $pluginId)

Set plugin_id

Parameters

int $pluginId

Return Value

PluginEventHandler

at line 169
int getPluginId()

Get plugin_id

Return Value

int

at line 180
PluginEventHandler setDelFlg(integer $delFlg)

Set del_flg

Parameters

integer $delFlg

Return Value

PluginEventHandler

at line 192
integer getDelFlg()

Get del_flg

Return Value

integer

at line 203
PluginEventHandler setHandler(string $handler)

Set handler

Parameters

string $handler

Return Value

PluginEventHandler

at line 215
string getHandler()

Get handler

Return Value

string

at line 226
PluginEventHandler setCreateDate(DateTime $createDate)

Set create_date

Parameters

DateTime $createDate

Return Value

PluginEventHandler

at line 238
DateTime getCreateDate()

Get create_date

Return Value

DateTime

at line 243
setHandlerType($handlerType)

Parameters

$handlerType

at line 250
getHandlerType()

at line 261
PluginEventHandler setUpdateDate(DateTime $updateDate)

Set update_date

Parameters

DateTime $updateDate

Return Value

PluginEventHandler

at line 273
DateTime getUpdateDate()

Get update_date

Return Value

DateTime

at line 278
getPlugin()

at line 282
setPlugin(Plugin $Plugin)

Parameters

Plugin $Plugin