\Imi\Model\Event\ParamAfterUpdateEventParam

Summary

Methods
Properties
Constants
__construct()
getEventName()
getTarget()
getData()
stopPropagation()
isPropagationStopped()
$model
$data
$result
No constants found
No protected methods found
$__eventName
$__target
$__data
$__stopPropagation
N/A
No private methods found
No private properties found
N/A

Properties

$__eventName

$__eventName : string

事件名称

Type

string

$__target

$__target : object

触发该事件的对象

Type

object

$__data

$__data : array

数据

Type

array

$__stopPropagation

$__stopPropagation : boolean

阻止事件继续传播

Type

boolean

Methods

__construct()

__construct(  $eventName,   $data = array(),   $target = null) 

Parameters

$eventName
$data
$target

getEventName()

getEventName() : string

获取事件名称

Returns

string

getTarget()

getTarget() : object

获取触发该事件的对象

Returns

object

getData()

getData() : array

获取数据

Returns

array

stopPropagation()

stopPropagation(boolean  $isStop = true) 

阻止事件继续传播

Parameters

boolean $isStop

是否阻止事件继续传播

isPropagationStopped()

isPropagationStopped() : boolean

是否阻止事件继续传播

Returns

boolean