Ejemplo n.º 1
0
 /**
  * Initiate Class
  **/
 function __construct($pExtras = TRUE)
 {
     parent::__construct();
     // if mPluginPath hasn't been set, we set it for liberty plugins
     if (empty($this->mPluginPath)) {
         $this->mPluginPath = LIBERTY_PKG_PATH . 'plugins/';
     }
     // extras - only needed by liberty
     if ($pExtras) {
         $this->mDataTags = array();
         $this->loadContentTypes();
     }
 }
Ejemplo n.º 2
0
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('mStyles', 'mThemeCache', 'mAjaxLibs', 'mAuxFiles', 'mRawFiles', 'mModules'));
 }
Ejemplo n.º 3
0
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('mPlugins', 'mDataTags', 'mContentStatus', 'mContentTypes', 'mPluginFileName', 'mSystem', 'mPluginPath'));
 }
Ejemplo n.º 4
0
 public static function loadFromCache($pCacheKey, $pContentTypeGuid = NULL)
 {
     global $gBitTimer;
     if ($ret = parent::loadFromCache($pCacheKey)) {
         $ret->setHttpStatus(HttpStatusCodes::HTTP_OK);
         $ret->mTimer = $gBitTimer;
         $ret->mTimer->start();
         $ret->mOnload = array();
         $ret->mAppMenu = array();
         $ret->defineTempDir();
         $ret->mServerTimestamp = new BitDate();
     }
     return $ret;
 }
Ejemplo n.º 5
0
 /**
  * Initiate class
  *
  * @return void
  */
 function __construct()
 {
     parent::__construct();
     // start up caching engine
     $this->mThemeCache = new BitCache('themes', TRUE);
 }
Ejemplo n.º 6
0
 public function __sleep()
 {
     return parent::__sleep();
 }
Ejemplo n.º 7
0
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('mConfig', 'mProductTypeLayout'));
 }
Ejemplo n.º 8
0
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('mLanguageList'));
 }