예제 #1
0
파일: Map.php 프로젝트: jubinpatel/horde
 /**
  * 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;
 }
예제 #2
0
파일: Count.php 프로젝트: horde/horde
 /**
  * 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);
 }
예제 #3
0
파일: Log.php 프로젝트: horde/horde
 /**
  * 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);
 }