/** * Low level access to reading some object attributes. * * @param string $guid The object to retrieve. * @param string $attrs Restrict to these attributes. * * @return array An array of attributes. * * @throws Horde_Kolab_Server_Exception * * @see Horde_Kolab_Server::read */ public function readAttributes($guid, array $attrs) { $this->mapKeys($attrs); $data = $this->_server->readAttributes($guid, $attrs); $this->unmapAttributes($data); return $data; }
/** * Low level access to reading some object attributes. * * @param string $guid The object to retrieve. * @param string $attrs Restrict to these attributes. * * @return array An array of attributes. * * @throws Horde_Kolab_Server_Exception * * @see Horde_Kolab_Server::read */ public function readAttributes($guid, array $attrs) { if (!isset($this->_count['readAttributes'])) { $this->_count['readAttributes'] = 1; } else { $this->_count['readAttributes']++; } return $this->_server->readAttributes($guid, $attrs); }
/** * Low level access to reading some object attributes. * * @param string $guid The object to retrieve. * @param string $attrs Restrict to these attributes. * * @return array An array of attributes. * * @throws Horde_Kolab_Server_Exception * * @see Horde_Kolab_Server::read */ public function readAttributes($guid, array $attrs) { return $this->_server->readAttributes($guid, $attrs); }