<?php
class ExampleObject extends BaseObject {
public function GetTableName() {
return 'exampleobjects';
}
public static function ById($id) {
return self::GetById($id, __CLASS__);
}
public function GetExample2s() {
$ex2proxy = new ExampleObject2();
return $ex2proxy->GetAllObjects('WHERE example_id="'.Mysql::EscapeString($this->IdValue()).'"');
}
}
?>