/** * Should be called after answering the request to allow the Target * to check if all required registry values have been set correctly. * * @return boolean False if required are missing. */ public function checkRegistryRequestsAnswers() { if ($this->cache) { $cacheId = $this->_getCacheId(); $this->_data = $this->cache->load($cacheId); } else { $cacheId = false; } if (!$this->_data) { $this->_data = $this->loadData($this->_id); if ($cacheId) { $this->cache->save($this->_data, $cacheId, $this->_cacheTags); } } // \MUtil_Echo::track($this->_data); return is_array($this->_data) && parent::checkRegistryRequestsAnswers(); }