_c_obj = cache::getInstance(); } /** * @return cache_baskets */ public static function getInstance() { if (!(self::$_instance instanceof self)) self::$_instance = new self(); return self::$_instance; } public function get($usr_id) { return $this->_c_obj->get(GV_ServerName.'_baskets_'.$usr_id); } public function set($usr_id,$value) { return $this->_c_obj->set(GV_ServerName.'_baskets_'.$usr_id,$value); } public function delete($usr_id) { return $this->_c_obj->delete(GV_ServerName.'_baskets_'.$usr_id); } }