Filed under IT – PHP

More action class

action.class.php function executeShow () { $this->job = Doctrine::getTable(‘jobeet_job’)->find($request->getParameter(‘id’)); $this->forward404Unless($this->job); } And in the template, one can do $job->getDateTimeObject(‘create_date’)->format(‘m/d/Y’); in layout.php use_javascripts() and use_stylesheets reads info from view.yml. One can also use slot() function to define slots in showSuccess.php Advertisements