Example #1
0
 /**
  * If the map class is not already defined, attempts to require_once the definition.
  * If the Map file cannot be located, an exception is thrown
  *
  * @access public
  * @param string $objectclass The name of the object map class
  */
 public function IncludeMap($objectclass)
 {
     try {
         Includer::RequireClass($objectclass, "Model/DAO/");
     } catch (IncludeException $ex) {
         throw new Exception($ex->getMessage() . '.  If a map file does not exist then ' . get_class($this) . ' can implement GetFieldFromProp instead.');
     }
 }
Example #2
0
 /**
  * If the type is not already defined, attempts to require_once the definition.
  * If the Model file cannot be located, an exception is thrown
  *
  * @access public
  * @param string $objectclass The name of the object class
  */
 public function IncludeModel($objectclass)
 {
     Includer::RequireClass($objectclass, array("Model/", "Reporter/"));
 }
Example #3
0
 /**
  * If the map class is not already defined, attempts to require_once the definition.
  * If the Map file cannot be located, an exception is thrown
  *
  * @access public
  * @param string $objectclass The name of the object map class
  */
 public function IncludeMap($objectclass)
 {
     Includer::RequireClass($objectclass, "Model/DAO/");
 }