PHP Класс Horde_Kolab_Server_Query_Ldap, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Gunnar Wrobel ([email protected])
Наследование: implements Horde_Kolab_Server_Query_Interface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Horde_Kolab_Server_Query_Element_Interface $criteria, Horde_Kolab_Server_Structure_Interface $structure ) Constructor.
__toString ( ) : string Return the query as a string.
_convertGroup ( Horde_Kolab_Server_Query_Element_Group $group, string $operator ) : mixed Convert the group element to query format.
convertAnd ( Horde_Kolab_Server_Query_Element_And $and ) : mixed Convert the and element to query format.
convertApprox ( Horde_Kolab_Server_Query_Element_Approx $approx ) : mixed Convert the approx element to query format.
convertBegins ( Horde_Kolab_Server_Query_Element_Begins $begins ) : mixed Convert the begins element to query format.
convertContains ( Horde_Kolab_Server_Query_Element_Contains $contains ) : mixed Convert the contains element to query format.
convertEnds ( Horde_Kolab_Server_Query_Element_Ends $ends ) : mixed Convert the ends element to query format.
convertEquals ( Horde_Kolab_Server_Query_Element_Equals $equals ) : mixed Convert the equals element to query format.
convertGreater ( Horde_Kolab_Server_Query_Element_Greater $greater ) : mixed Convert the greater element to query format.
convertLess ( Horde_Kolab_Server_Query_Element_Less $less ) : mixed Convert the less element to query format.
convertNot ( Horde_Kolab_Server_Query_Element_Not $not ) : mixed Convert the not element to query format.
convertOr ( Horde_Kolab_Server_Query_Element_Group $or ) : mixed Convert the or element to query format.

Приватные методы

Метод Описание
_convertSingle ( Horde_Kolab_Server_Query_Element_Single $single, string $operator ) : mixed Convert the single element to query format.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Horde_Kolab_Server_Query_Element_Interface $criteria, Horde_Kolab_Server_Structure_Interface $structure )
$criteria Horde_Kolab_Server_Query_Element_Interface The query criteria.
$structure Horde_Kolab_Server_Structure_Interface

__toString() публичный Метод

Return the query as a string.
public __toString ( ) : string
Результат string The query in string format.

_convertGroup() публичный Метод

Convert the group element to query format.
public _convertGroup ( Horde_Kolab_Server_Query_Element_Group $group, string $operator ) : mixed
$group Horde_Kolab_Server_Query_Element_Group The element to convert.
$operator string The element operation.
Результат mixed The query element in query format.

convertAnd() публичный Метод

Convert the and element to query format.
public convertAnd ( Horde_Kolab_Server_Query_Element_And $and ) : mixed
$and Horde_Kolab_Server_Query_Element_And
Результат mixed The query element in query format.

convertApprox() публичный Метод

Convert the approx element to query format.
public convertApprox ( Horde_Kolab_Server_Query_Element_Approx $approx ) : mixed
$approx Horde_Kolab_Server_Query_Element_Approx The element to convert.
Результат mixed The query element in query format.

convertBegins() публичный Метод

Convert the begins element to query format.
public convertBegins ( Horde_Kolab_Server_Query_Element_Begins $begins ) : mixed
$begins Horde_Kolab_Server_Query_Element_Begins The element to convert.
Результат mixed The query element in query format.

convertContains() публичный Метод

Convert the contains element to query format.
public convertContains ( Horde_Kolab_Server_Query_Element_Contains $contains ) : mixed
$contains Horde_Kolab_Server_Query_Element_Contains The element to convert.
Результат mixed The query element in query format.

convertEnds() публичный Метод

Convert the ends element to query format.
public convertEnds ( Horde_Kolab_Server_Query_Element_Ends $ends ) : mixed
$ends Horde_Kolab_Server_Query_Element_Ends The element to convert.
Результат mixed The query element in query format.

convertEquals() публичный Метод

Convert the equals element to query format.
public convertEquals ( Horde_Kolab_Server_Query_Element_Equals $equals ) : mixed
$equals Horde_Kolab_Server_Query_Element_Equals The element to convert.
Результат mixed The query element in query format.

convertGreater() публичный Метод

Convert the greater element to query format.
public convertGreater ( Horde_Kolab_Server_Query_Element_Greater $greater ) : mixed
$greater Horde_Kolab_Server_Query_Element_Greater
Результат mixed The query element in query format.

convertLess() публичный Метод

Convert the less element to query format.
public convertLess ( Horde_Kolab_Server_Query_Element_Less $less ) : mixed
$less Horde_Kolab_Server_Query_Element_Less The element to convert.
Результат mixed The query element in query format.

convertNot() публичный Метод

Convert the not element to query format.
public convertNot ( Horde_Kolab_Server_Query_Element_Not $not ) : mixed
$not Horde_Kolab_Server_Query_Element_Not
Результат mixed The query element in query format.

convertOr() публичный Метод

Convert the or element to query format.
public convertOr ( Horde_Kolab_Server_Query_Element_Group $or ) : mixed
$or Horde_Kolab_Server_Query_Element_Group
Результат mixed The query element in query format.