內容目录上一个主题< Class Phalcon\Escaper\Exception 下一个主题Class Phalcon\Events\Exception > 本页 |
Class Phalcon\Events\Event¶This class offers contextual information of a fired event in the EventsManager Methods¶public setType (unknown $type) Event type public getType () Event type public getSource () Event source public setData (unknown $data) Event data public getData () Event data public getCancelable () Is event cancelable? public __construct (string $type, object $source, [mixed $data], [boolean $cancelable]) Phalcon\Events\Event constructor public stop () Stops the event preventing propagation public isStopped () Check whether the event is currently stopped |