nerijus
6/13/2013 - 7:32 AM

Use helper functions in controller

Use helper functions in controller

class UsersController extends AppController {
    function index() {
        $view = new View($this);
        $html = $view->loadHelper('Html');
        debug($html->link('Cake!', 'http://cakephp.org'));
    }
}