function __construct() { parent::__construct(); $this->moduleSource = ''; $this->extendsSrouce = ''; $this->moduleFile = array(); }
function __construct() { parent::__construct(); global $globalModel; $this->getLanguage = array(); $this->waittingFor = NULL; $this->globalModel =& $globalModel; }
function __construct() { global $globalDbObject; parent::__construct(); if (!$globalDbObject) { $dbObjectName = mgFileNameToClassName(__DBOBJECT__); $globalDbObject = new $dbObjectName(); } $this->dbObject = $globalDbObject; $this->usedTable = array(); }
function __construct($fileName) { parent::__construct(); $fileName = __TEMPLATE__ . $fileName; if (__DEBUG__ && !file_exists($fileName)) { $this->throwException(E_ACTION_TEMPLATE_FILENOTEXISTS, $fileName, '/exception' == $this->stack['action']['path']); } else { $this->compileFile = $fileName; $cache = new Cache(); $cache->checkCacheFile(array(__COMPILE__ . '/' . mgPathToFileName($fileName) . '.php' => array('listener' => 'fileExists', 'callback' => array($this, 'buildCache')), __RUNTIME__ . '/template/' . mgPathToFileName($fileName) . '.mod.php' => array('listener' => 'fileExists', 'callback' => array($this, 'buildCache')), __RUNTIME__ . '/template/' . mgPathToFileName($fileName) . '.cnf.php' => array('listener' => 'fileDate', 'callback' => array($this, 'buildCache')))); } }
function __construct($fileName) { parent::__construct(); $this->args = array(); $urlStr = explode('?', $fileName); $fileName = $urlStr[0]; if (isset($urlStr[1])) { parse_str($urlStr[1], $this->args); } $this->path = $fileName; $cache = new Cache(); $cache->checkCacheFile(array(__RUNTIME__ . '/json_output/' . $fileName . '.mod.php' => array('listener' => 'fileExists', 'callback' => array($this, 'buildCache')), __RUNTIME__ . '/json_output/' . $fileName . '.cnf.php' => array('listener' => 'fileDate', 'callback' => array($this, 'buildCache')))); $this->objName = mgFileNameToUniqueClassName($fileName); $this->fileName = __RUNTIME__ . '/json_output/' . $fileName . '.mod.php'; $this->stack['action']['application_cache_path'] = __RUNTIME__ . '/json_output/' . $fileName . '.mod.php'; $this->stack['action']['application_config_path'] = __RUNTIME__ . '/json_output/' . $fileName . '.cnf.php'; if (!file_exists($this->fileName)) { $this->throwException(E_ACTION_JSONOUTPUT_FILENOTEXISTS, $this->fileName); } }
function __construct() { parent::__construct(); }