/** * 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.'); } }
/** * 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/")); }
/** * 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/"); }