/** * Constructor * * @access public */ public function __construct($pTable = null) { $Config = $this->GetSys("Config"); $Database = $this->GetSys("Database"); $this->_Prefix = $Config->GetConfiguration("pre"); // Check if the tablename was specified. if ($pTable) { $tablename = $pTable; } elseif ($this->_Tablename) { $tablename = $this->_Tablename; } else { $tablename = preg_replace('/^c/', "", get_class($this)); $tablename = preg_replace('/Model$/', "", $tablename); } $this->_Tablename = $tablename; // Pull the table structure into the class. if ($this->Structure()) { $this->_Exists = true; } $this->_Protected = array(); parent::__construct(); return true; }
/** * Constructor * * @access public */ public function __construct() { parent::__construct(); }
/** * Constructor * * @access public */ public function __construct() { $this->_Models = new stdClass(); parent::__construct(); }
/** * Constructor * * @access public */ public function __construct() { $this->Controllers = new stdClass(); parent::__construct(); }