PHP Class BcModelEventDispatcher

beforeFind 等の、CakePHPのモデル向け標準イベントについて、 モデルごとにイベントをディスパッチする。 bootstrap で、attach される。 《イベント名の命名規則》 Model.ModelName.eventName
Inheritance: extends Object, implements CakeEventListener
Mostrar archivo Open project: baserproject/basercms

Public Methods

Method Description
afterDelete ( CakeEvent $event ) afterDelete
afterFind ( CakeEvent $event ) : array afterFind
afterSave ( CakeEvent $event ) : void afterSave
afterValidate ( CakeEvent $event ) : void afterValidate
beforeDelete ( CakeEvent $event ) : boolean beforeDelete
beforeFind ( CakeEvent $event ) : array beforeFind
beforeSave ( CakeEvent $event ) : boolean beforeSave
beforeValidate ( CakeEvent $event ) : boolean beforeValidate
implementedEvents ( ) : array implementedEvents

Method Details

afterDelete() public method

afterDelete
public afterDelete ( CakeEvent $event )
$event CakeEvent

afterFind() public method

afterFind
public afterFind ( CakeEvent $event ) : array
$event CakeEvent
return array

afterSave() public method

afterSave
public afterSave ( CakeEvent $event ) : void
$event CakeEvent
return void

afterValidate() public method

afterValidate
public afterValidate ( CakeEvent $event ) : void
$event CakeEvent
return void

beforeDelete() public method

beforeDelete
public beforeDelete ( CakeEvent $event ) : boolean
$event CakeEvent
return boolean

beforeFind() public method

beforeFind
public beforeFind ( CakeEvent $event ) : array
$event CakeEvent
return array

beforeSave() public method

beforeSave
public beforeSave ( CakeEvent $event ) : boolean
$event CakeEvent
return boolean

beforeValidate() public method

beforeValidate
public beforeValidate ( CakeEvent $event ) : boolean
$event CakeEvent
return boolean

implementedEvents() public method

implementedEvents
public implementedEvents ( ) : array
return array