PHP 클래스 BcModelEventDispatcher

beforeFind 等の、CakePHPのモデル向け標準イベントについて、 モデルごとにイベントをディスパッチする。 bootstrap で、attach される。 《イベント名の命名規則》 Model.ModelName.eventName
상속: extends Object, implements CakeEventListener
파일 보기 프로젝트 열기: baserproject/basercms

공개 메소드들

메소드 설명
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

메소드 상세

afterDelete() 공개 메소드

afterDelete
public afterDelete ( CakeEvent $event )
$event CakeEvent

afterFind() 공개 메소드

afterFind
public afterFind ( CakeEvent $event ) : array
$event CakeEvent
리턴 array

afterSave() 공개 메소드

afterSave
public afterSave ( CakeEvent $event ) : void
$event CakeEvent
리턴 void

afterValidate() 공개 메소드

afterValidate
public afterValidate ( CakeEvent $event ) : void
$event CakeEvent
리턴 void

beforeDelete() 공개 메소드

beforeDelete
public beforeDelete ( CakeEvent $event ) : boolean
$event CakeEvent
리턴 boolean

beforeFind() 공개 메소드

beforeFind
public beforeFind ( CakeEvent $event ) : array
$event CakeEvent
리턴 array

beforeSave() 공개 메소드

beforeSave
public beforeSave ( CakeEvent $event ) : boolean
$event CakeEvent
리턴 boolean

beforeValidate() 공개 메소드

beforeValidate
public beforeValidate ( CakeEvent $event ) : boolean
$event CakeEvent
리턴 boolean

implementedEvents() 공개 메소드

implementedEvents
public implementedEvents ( ) : array
리턴 array