Example #1
0
 public function __construct(&$controller)
 {
     parent::__construct($controller);
     if ($controller->html) {
         throw new AppViewException('wrong render type');
     }
 }
Example #2
0
 public function __construct(&$controller)
 {
     parent::__construct($controller);
     if (!$controller->html) {
         throw new AppViewException('Unknow Return Format');
     }
     require "Smarty.class.php";
     $this->smarty = new Smarty();
 }
Example #3
0
 public function __construct($resourceName)
 {
     parent::__construct($resourceName);
 }