protected function _init() { parent::_init(); $this->_assign = array(); $this->_canvas = Joy_Controller_Canvas::getInstance(get_class($this)); }
public function __construct($info) { $this->_info = $info; $this->_canvas = Joy_Controller_Canvas::getInstance($this->getController()); $this->_canvas->switchAction($this->getAction()); }