/** * start * * @access public * @return void */ function start() { $this->Controller = new CookieComponentTestController(); $this->Controller->constructClasses(); $this->Controller->Component->initialize($this->Controller); $this->Controller->beforeFilter(); $this->Controller->Component->startup($this->Controller); $this->Controller->Cookie->destroy(); }
/** * init method * * @access protected * @return void */ function _init() { $this->Controller = new PlateComponentTestController(array('components' => array('Auth', 'Plate', 'Plate'))); $this->Controller->constructClasses(); //$this->RequestHandler =& $this->Controller->RequestHandler; //$this->RequestHandler->initialize($this->Controller); $this->Controller->Plate->initialize($this->Controller); $this->Controller->beforeFilter(); $this->Controller->Plate->startup($this->Controller); }