Cakephpdocs 39

CategoryTo make helpers available
Code ExamplesTo make the helper available, besides the HTML and Form helpers, you must specify in the controller that the helper is being used. You do this by populating the helper settings array with the corresponding helper's class name: var $helpers = array('Ajax','Session','Time'); By placing this string up by where the var $name and var $scaffold attributes are called in its controller, Cake is able to begin a new instance of the helper class object and make it available in the view.
Test Code
Links
Remarks
Cancel