コード例 #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);
 }