/** * Low level access to reading object data. * * @param string $guid The object to retrieve. * @param array $attrs Restrict to these attributes. * * @return array An array of attributes. * * @throws Horde_Kolab_Server_Exception If the search operation hit an error * or returned no result. */ public function read($guid, array $attrs = array()) { if (!isset($this->_count['read'])) { $this->_count['read'] = 1; } else { $this->_count['read']++; } return $this->_server->read($guid); }
/** * Low level access to reading object data. * * @param string $guid The object to retrieve. * @param array $attrs Restrict to these attributes. * * @return array An array of attributes. * * @throws Horde_Kolab_Server_Exception If the search operation hit an error * or returned no result. */ public function read($guid, array $attrs = array()) { return $this->_server->read($guid); }
/** * Low level access to reading object data. * * @param string $guid The object to retrieve. * @param array $attrs Restrict to these attributes. * * @return array An array of attributes. * * @throws Horde_Kolab_Server_Exception If the search operation hit an error * or returned no result. */ public function read($guid, array $attrs = array()) { $data = $this->_server->read($guid); $this->unmapAttributes($data); return $data; }