PHP Класс spec\LdapTools\Query\LdapQuerySpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$containers
$filter LdapTools\Query\OperatorCollection
$ldapEntries
$operation LdapTools\Operation\QueryOperation
$ous
$sortEntries

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

Метод Описание
getMatchers ( )
it_is_initializable ( )
it_should_add_order_by_attributes_to_the_selection_if_not_explicitly_done ( $connection )
it_should_allow_setting_the_query_operation ( )
it_should_force_arrays_on_multivalued_attributes_when_returning_results ( $connection )
it_should_have_an_empty_array_for_the_default_order_by ( )
it_should_honor_an_explicitly_set_dn_over_one_from_the_schema_if_specified ( $connection )
it_should_honor_default_attributes_to_select_when_present_in_the_LdapObjectSchema ( $connection )
it_should_limit_the_results_for_subsequent_operations_if_a_size_limit_is_set_so_we_dont_go_over_the_limit ( $connection )
it_should_not_add_an_order_by_attribute_to_the_selection_when_a_wildcard_is_used ( $connection )
it_should_override_default_attributes_to_select_when_explicitly_setting_attributes ( $connection )
it_should_query_results_from_multiple_schema_types ( $connection )
it_should_resolve_base_dn_parameters_when_querying_ldap ( $connection )
it_should_return_a_LdapObjectCollection_by_default ( )
it_should_return_a_null_value_when_calling_getSingleScalarOrNullResult_and_no_attribute_is_found ( $connection )
it_should_return_a_result_when_calling_getResult ( )
it_should_return_a_single_attribute_value_when_calling_getSingleScalarOrNullResult ( $connection )
it_should_return_a_single_attribute_value_when_calling_getSingleScalarResult ( $connection )
it_should_return_a_single_result_when_calling_getOneOrNullResult ( $connection )
it_should_return_a_single_result_when_calling_getSingleResult ( $connection )
it_should_return_an_array_result_when_calling_getArrayResult ( )
it_should_return_null_when_calling_getOneOrNullResult_and_no_results_are_found ( $connection )
it_should_return_the_query_operation ( )
it_should_select_all_LDAP_attributes_with_a_double_wildcard ( $connection )
it_should_select_all_schema_attributes_with_a_wildcard ( $connection )
it_should_set_a_base_dn_from_the_schema_if_specified ( $connection )
it_should_set_the_order_by_attributes ( )
it_should_sort_case_insensitive_by_default ( )
it_should_sort_case_sensitive_if_specified ( $connection )
it_should_sort_results_for_multiple_aliases ( $connection )
it_should_sort_results_when_specified ( $connection )
it_should_throw_EmptyResultException_when_no_results_are_returned_but_one_is_expected ( $connection )
it_should_throw_MultiResultException_when_many_results_are_returned_when_only_one_is_expected ( )
it_should_throw_an_error_when_calling_getSingleScalarResult_and_the_attribute_doesnt_exist ( $connection )
it_should_throw_an_exception_when_calling_getSingleScalarOrNullResult_and_more_than_one_LDAP_object_is_found ( $connection )
it_should_throw_an_exception_when_calling_getSingleScalarOrNullResult_and_more_than_one_attribute_is_selected ( $connection )
it_should_throw_an_exception_when_calling_getSingleScalarOrNullResult_and_no_LDAP_object_is_found ( $connection )
it_should_throw_an_exception_when_calling_getSingleScalarResult_and_more_than_one_LDAP_object_is_found ( $connection )
it_should_throw_an_exception_when_calling_getSingleScalarResult_and_more_than_one_attribute_is_selected ( $connection )
it_should_throw_an_exception_when_calling_getSingleScalarResult_and_no_LDAP_object_is_found ( $connection )
let ( LdapTools\Connection\LdapConnectionInterface $connection )

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

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

public getMatchers ( )

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

public it_is_initializable ( )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public it_should_sort_results_when_specified ( $connection )

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

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

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

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

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

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

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

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

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

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

public let ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

Описание свойств

$containers защищенное свойство

protected $containers

$filter защищенное свойство

protected OperatorCollection,LdapTools\Query $filter
Результат LdapTools\Query\OperatorCollection

$ldapEntries защищенное свойство

protected $ldapEntries

$operation защищенное свойство

protected QueryOperation,LdapTools\Operation $operation
Результат LdapTools\Operation\QueryOperation

$ous защищенное свойство

protected $ous

$sortEntries защищенное свойство

protected $sortEntries