public function __construct($module = null, $action = null) { parent::__construct($module, $action); $this->_templateobject = DataObjectFactory::Factory('Expense'); $this->uses($this->_templateobject); $this->view->set('controller', 'Expenses'); }
public function __construct($module = null, $action = null) { parent::__construct($module, $action); $this->_templateobject = DataObjectFactory::Factory('Holidayrequest'); $this->uses($this->_templateobject); }