public function __construct() { parent::__construct('component'); if (ENOLA_MODE == 'HTTP') { $this->session = new Session(); } $this->viewFolder = PATHAPP . 'source/view/'; }
function __construct() { parent::__construct('controller'); $this->request = En_HttpRequest::getInstance(); $this->viewFolder = PATHAPP . 'source/view/'; }
function __construct() { parent::__construct('cron'); $this->viewFolder = PATHAPP . 'source/view/'; }
function __construct() { parent::__construct('filter'); $this->request = En_HttpRequest::getInstance(); }
/** * Constructor que conecta a la bd y carga las librerias que se indicaron en el archivo de configuracion */ function __construct($conect = TRUE, $nameDB = NULL) { parent::__construct('db'); if ($conect) { $this->conexion = $this->getConexion($nameDB); } }