PHP Class ApiListener, Platform-API-plugin

Inheritance: extends CrudListener
显示文件 Open project: nodesagency/Platform-API-plugin Class Usage Examples

Public Methods

Method Description
afterDelete ( CakeEvent $event )
afterSave ( CakeEvent $event )
implementedEvents ( ) : array Returns a list of all events that will fire in the controller during it's lifecycle.
init ( CakeEvent $event )
invalidId ( CakeEvent $event )
recordNotFound ( CakeEvent $event )

Method Details

afterDelete() public method

public afterDelete ( CakeEvent $event )
$event CakeEvent

afterSave() public method

public afterSave ( CakeEvent $event )
$event CakeEvent

implementedEvents() public method

You can override this function to add you own listener callbacks
public implementedEvents ( ) : array
return array

init() public method

public init ( CakeEvent $event )
$event CakeEvent

invalidId() public method

public invalidId ( CakeEvent $event )
$event CakeEvent

recordNotFound() public method

public recordNotFound ( CakeEvent $event )
$event CakeEvent