<?php
class ExampleObject2 extends BaseObject {
public function IdField() {
return 'example2id';
}
public function GetTableName() {
return 'exampleobjects2';
}
public static function ById($id) {
return self::GetById($id, __CLASS__);
}
public function GetExample() {
return ExampleObject::ById($this->example_id);
}
}
?>