/** * Return for whom this resource exports relevant data. * * @return string The user type the exported data of this resource is * relevant for. * * @throws Horde_Kolab_FreeBusy_Exception If retrieving the relevance * information failed. */ public function getRelevance() { if (!isset($this->_relevance)) { $this->_relevance = $this->_resource->getRelevance(); } return $this->_relevance; }
/** * Return for whom this resource exports relevant data. * * @return string The user type the exported data of this resource is * relevant for. * * @throws Horde_Kolab_FreeBusy_Exception If retrieving the relevance * information failed. */ public function getRelevance() { $relevance = $this->_resource->getRelevance(); if (empty($relevance)) { $this->_logger->debug(sprintf('No relevance value found for %s', $this->_resource->getName())); } else { $this->_logger->debug(sprintf('Relevance for %s is %s', $this->_resource->getName(), $relevance)); } return $relevance; }