public function store($wrkarounds = true) { $data = MResponse::getBody(); $id = $this->_id; $group = $this->_group; $this->_id = null; $this->_group = null; if ($data) { $data = $wrkarounds == false ? $data : MCache::setWorkarounds($data); if ($this->_locktest->locked == false) { $this->_locktest = $this->cache->lock($id, $group); } $sucess = $this->cache->store(serialize($data), $id, $group); if ($this->_locktest->locked == true) { $this->cache->unlock($id, $group); } return $sucess; } return false; }