Example #1
0
 /**
  * A factory method to load the appropriate MAX_Dal_Admin class for a
  * given table name.
  *
  * @static
  * @param string $table The name of the table for which a MAX_Dal_Admin class is
  *                      required.
  * @return MAX_Dal_Common The appropriate MAX_Dal_Common implementaion,
  *                        or false on error.
  */
 function factoryDAL($table)
 {
     include_once MAX_PATH . '/lib/max/Dal/Common.php';
     return MAX_Dal_Common::factory($table);
 }
Example #2
0
 /**
  * The class constructor method.
  */
 function __construct()
 {
     parent::__construct();
 }
Example #3
0
 /**
  * The class constructor method.
  */
 function OX_Dal_Maintenance_Statistics()
 {
     parent::MAX_Dal_Common();
 }
Example #4
0
 /**
  * The constructor method.
  *
  * @return MAX_Dal_Statistics
  */
 function MAX_Dal_Statistics()
 {
     parent::MAX_Dal_Common();
 }
Example #5
0
 /**
  * The class constructor method.
  */
 function OA_Maintenance_Pruning()
 {
     parent::MAX_Dal_Common();
 }
Example #6
0
 /**
  * The class constructor method.
  */
 function OA_Dal_Maintenance_Common()
 {
     parent::MAX_Dal_Common();
 }
Example #7
0
 /**
  * The constructor method.
  *
  * @return MAX_Dal_Entities
  */
 function MAX_Dal_Entities()
 {
     parent::MAX_Dal_Common();
 }
Example #8
0
 /**
  * Autoload class
  *
  * @param string $modelName  Class model name
  * @return boolean  True on success
  * @access public
  */
 function autoLoadClass($modelName)
 {
     $path = MAX_PATH . '/lib/max/Dal/Admin/' . $modelName . '.php';
     if (!file_exists($path)) {
         PEAR::raiseError("autoload:File doesn't exist {$path}");
         return false;
     }
     include_once $path;
     $class = MAX_Dal_Common::getClassName($modelName);
     if (!class_exists($class)) {
         PEAR::raiseError("autoload:Could not autoload {$class}");
         return false;
     }
     return $class;
 }
 /**
  * The class constructor method.
  */
 function OA_Maintenance_RollupStats()
 {
     parent::MAX_Dal_Common();
 }
Example #10
0
 function MAX_Dal_Admin()
 {
     parent::MAX_Dal_Common();
     $this->initialiseTableNames();
 }