baserCMS クラスリファレンス

BcModelEventDispatcher
in package
implements EventListenerInterface

Class BcModelEventDispatcher

モデルイベントディスパッチャ

beforeFind 等の、CakePHPのモデル向け標準イベントについて、 モデルごとにイベントをディスパッチする。 bootstrap で、attach される。

《イベント名の命名規則》 Model.ModelName.eventName

Table of Contents

Interfaces

EventListenerInterface

Methods

afterDelete()  : void
afterDelete
afterFind()  : void
afterFind
afterMarshal()  : void
afterMarshal
afterSave()  : void
afterSave
beforeDelete()  : void
beforeDelete
beforeFind()  : void
beforeFind
beforeMarshal()  : void
beforeMarshal
beforeSave()  : void
beforeSave
implementedEvents()  : array<string|int, mixed>
implementedEvents

Methods

afterDelete()

afterDelete

public afterDelete(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

afterFind()

afterFind

public afterFind(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

afterMarshal()

afterMarshal

public afterMarshal(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

afterSave()

afterSave

public afterSave(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

beforeDelete()

beforeDelete

public beforeDelete(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

beforeFind()

beforeFind

public beforeFind(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

beforeMarshal()

beforeMarshal

public beforeMarshal(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

beforeSave()

beforeSave

public beforeSave(Event $event) : void
Parameters
$event : Event
Tags
checked
noTodo
unitTest

implementedEvents()

implementedEvents

public implementedEvents() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>
On this page

Search results