ViewVarsTrait (class)

Trait ViewVarsTrait

Provides the set() method for collecting template context.

Once collected context data can be passed to another object. This is done in Controller, TemplateTask and View for example.

Direct Known Users

Cake\Controller\Controller, Cake\Mailer\Email, Cake\View\Cell, Cake\View\View

Indirect Known Users

Cake\Controller\ErrorController, Cake\View\AjaxView, Cake\View\JsonView, Cake\View\Serialize