예제 #1
0
파일: Json.php 프로젝트: kachit/phalcon-lib
 /**
  * Init
  *
  * @param ViewInterface $view
  * @param DI $dependencyInjector
  */
 public function __construct($view, $dependencyInjector = null)
 {
     parent::__construct($view, $dependencyInjector);
     $this->jsonHelper = new JsonHelper();
 }
예제 #2
0
파일: Php.php 프로젝트: phwoolcon/phwoolcon
 /**
  * Php constructor.
  * @param View        $view
  * @param \Phalcon\Di $di
  */
 public function __construct($view, $di)
 {
     parent::__construct($view, $di);
     $this->_debug = $view::getConfig('debug');
 }