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