Method | Description | |
---|---|---|
publishViewVar ( Cake\Event\Event $event ) : false | null | Publish the viewVar so people can do $$viewVar and end up wit the entity in the view | |
viewVar ( mixed $name = null ) : mixed | Change the name of the view variable name of the data when its sent to the view |
Method | Description | |
---|---|---|
_deriveViewValue ( Cake\Event\Event $event ) : mixed | Derive the viewVar value based on the scope of the action as well as the Event being handled | |
_deriveViewVar ( ) : string | Derive the viewVar based on the scope of the action |
protected _deriveViewValue ( Cake\Event\Event $event ) : mixed | ||
$event | Cake\Event\Event | Event |
return | mixed |
protected _deriveViewVar ( ) : string | ||
return | string |
public publishViewVar ( Cake\Event\Event $event ) : false | null | ||
$event | Cake\Event\Event | Event |
return | false | null |