示例#1
0
 /**
  * Return all KolabInetOrgPersons with the given uid or mail address.
  *
  * @param string $id The uid or mail address to search for.
  *
  * @return array The GUID(s).
  *
  * @throws Horde_Kolab_Server_Exception
  */
 public function searchGuidForUidOrMail($id)
 {
     $criteria = new Horde_Kolab_Server_Query_Element_Or(array(new Horde_Kolab_Server_Query_Element_Equals('Uid', $id), new Horde_Kolab_Server_Query_Element_Equals('Mail', $id)));
     return $this->_search->searchRestrictKolab($criteria);
 }
示例#2
0
文件: Strict.php 项目: horde/horde
 /**
  * Return the reference to the server structure.
  *
  * @return Horde_Kolab_Server_Structure_Interface
  */
 public function getStructure()
 {
     return $this->_search->getStructure();
 }