/** * The constructor checks if the minifier resource has been set up, and gets the * CSS minifier from the resource. */ public function __construct() { parent::__construct(); $resource = ZFE_Environment::getResource('minifier'); if ($resource) { $this->_minifier = $resource->js; } }
public function __construct() { parent::__construct(); $this->_path = realpath(APPLICATION_PATH . '/../public/js'); $this->_env = APPLICATION_ENV; $dn = new Zend_Session_Namespace(); if ($dn->logged_in) { $this->_state = 'admin'; } }
/** * Constructor * * Set separator to PHP_EOL * * @return void */ public function __construct() { parent::__construct(); $this->setConfig(); }
public function __construct() { $this->_appversion = Ot_Application_Version::getVersion(); parent::__construct(); }