public function __construct() { parent::__construct(); $this->session = new Session(); $this->design = new Design(); $this->dateTime = new CDateTime(); $this->view = new PH7Tpl(); }
public function __construct() { parent::__construct(); $this->_oHttpRequest = new Http(); $this->_oFile = new F\File(); $this->_oConfig = Config::getInstance(); $this->_sHtml = ''; // Default HTML contents $this->_sVerNumber = '...'; // Default value of the version number upgrade $this->_prepare(); // Preparation and verification for software upgrade }
public function __construct() { parent::__construct(); $this->checkCompileDir(); $this->checkCacheDir(); /** Instance objects for the class * */ $this->_oVars = $this; $this->designModel = new DesignModel(); // Enable (true) or Disables (false) html comments in the source code of the site that shows information conernant template engine such as name, version, ... $this->bLicense = PH7_VALID_LICENSE; $this->bHtmlCompressor = (bool) $this->config->values['cache']['enable.static.compressor']; $this->bPhpCompressor = (bool) $this->config->values['cache']['enable.static.compressor']; }