예제 #1
0
	/**
	 * 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();
	}
예제 #2
0
 /**
  * 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);
 }