*/
require_once 'DB/DataObject.php';
-class Pman_Core_DataObjects_Office extends DB_DataObject
+class Pman_Core_DataObjects_Core_office extends DB_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
function company()
{
- $c = DB_DataObject::Factory('Companies');
+ $c = DB_DataObject::Factory('core_company');
$c->get($this->company_id);
return $c;
return true; // standard error message.
}
- $p = DB_DAtaObject::Factory('Person');
+ $p = DB_DAtaObject::Factory('core_person');
if (!is_a($dependants_array[0], get_class($p))) {
$roo->jerr("dep is not a person..");