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