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