Exemplo n.º 1
0
 /**
  * @return Gpf_Db_Table_Wallpapers
  */
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Exemplo n.º 2
0
 /**
  * Get recordset of all wallpapers in directory {account_dir}/wallpapers/
  *
  * @return Gpf_Data_RecordSet
  */
 public function getAllWallpapersNoRpc()
 {
     return Gpf_Db_Table_Wallpapers::getInstance()->getAllWallpapers();
 }
Exemplo n.º 3
0
 function init()
 {
     $this->setTable(Gpf_Db_Table_Wallpapers::getInstance());
     parent::init();
 }