Ejemplo n.º 1
0
 public function __construct(&$controller)
 {
     parent::__construct($controller);
     if ($controller->html) {
         throw new AppViewException('wrong render type');
     }
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 3
0
 public function __construct($resourceName)
 {
     parent::__construct($resourceName);
 }