/** * @return Gpf_Db_Table_Windows */ public static function getInstance() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }
/** * @return Gpf_Data_RecordSet */ public function getWindowsNoRpc() { $windowsTable = Gpf_Db_Table_Windows::getInstance(); return $windowsTable->getWindows(Gpf_Session::getAuthUser()->getAccountUserId()); }
function init() { $this->setTable(Gpf_Db_Table_Windows::getInstance()); parent::init(); }