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