Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
spec
LdapTools
Query
Operator
WildcardSpec
PHP Class spec\LdapTools\Query\Operator\WildcardSpec
Inheritance:
extends
PhpSpec\ObjectBehavior
Show file
Open project: ldaptools/ldaptools
Public Methods
Method
Description
getMatchers
( )
it_is_initializable
( )
it_should_escape_special_characters_when_going_to_ldap_with_contains
( )
it_should_escape_special_characters_when_going_to_ldap_with_ends_with
( )
it_should_escape_special_characters_when_going_to_ldap_with_like
( )
it_should_escape_special_characters_when_going_to_ldap_with_starts_with
( )
it_should_extend_the_Comparison_operator
( )
it_should_get_the_LDAP_filter_with_any_converted_values_or_translated_attributes_for_an_alias
( )
it_should_have_a_CONTAINS_constant
( )
it_should_have_a_PRESENT_constant
( )
it_should_have_a_STARTS_WITH_constant
( )
it_should_have_an_ENDS_WITH_constant
( )
it_should_have_an_EQ_constant
( )
it_should_not_use_a_converter_if_the_type_is_present
( )
it_should_return_a_string_with_the_wildcard_operators_on_each_side_when_using_contains
( )
it_should_return_a_string_with_the_wildcard_operators_on_the_left_side_when_using_ends_with
( )
it_should_return_a_string_with_the_wildcard_operators_on_the_right_side_when_using_starts_with
( )
it_should_return_a_string_with_unescaped_wildcards_when_using_like
( )
it_should_return_the_LDAP_filter_correctly_based_on_the_alias_in_use
( )
it_should_return_the_filter_for_the_value_if_the_value_is_a_BaseOperator_instance
( )
it_should_set_if_a_converter_was_used_for_a_specific_alias
( )
it_should_set_the_alias_based_off_the_attribute
( )
it_should_set_the_converted_value_for_a_specific_alias
( )
it_should_set_the_translated_attribute_name_for_a_specific_alias
( )
it_should_throw_LdapQueryException_when_trying_to_set_the_operator_to_an_invalid_type
( )
it_should_throw_a_LdapQueryException_when_using_an_invalid_attribute_name
( )
let
( )
Protected Methods
Method
Description
escape
(
$value
)
Method Details
escape()
protected
method
protected
escape
(
$value
)
getMatchers()
public
method
public
getMatchers
( )
it_is_initializable()
public
method
public
it_is_initializable
( )
it_should_escape_special_characters_when_going_to_ldap_with_contains()
public
method
public
it_should_escape_special_characters_when_going_to_ldap_with_contains
( )
it_should_escape_special_characters_when_going_to_ldap_with_ends_with()
public
method
public
it_should_escape_special_characters_when_going_to_ldap_with_ends_with
( )
it_should_escape_special_characters_when_going_to_ldap_with_like()
public
method
public
it_should_escape_special_characters_when_going_to_ldap_with_like
( )
it_should_escape_special_characters_when_going_to_ldap_with_starts_with()
public
method
public
it_should_escape_special_characters_when_going_to_ldap_with_starts_with
( )
it_should_extend_the_Comparison_operator()
public
method
public
it_should_extend_the_Comparison_operator
( )
it_should_get_the_LDAP_filter_with_any_converted_values_or_translated_attributes_for_an_alias()
public
method
public
it_should_get_the_LDAP_filter_with_any_converted_values_or_translated_attributes_for_an_alias
( )
it_should_have_a_CONTAINS_constant()
public
method
public
it_should_have_a_CONTAINS_constant
( )
it_should_have_a_PRESENT_constant()
public
method
public
it_should_have_a_PRESENT_constant
( )
it_should_have_a_STARTS_WITH_constant()
public
method
public
it_should_have_a_STARTS_WITH_constant
( )
it_should_have_an_ENDS_WITH_constant()
public
method
public
it_should_have_an_ENDS_WITH_constant
( )
it_should_have_an_EQ_constant()
public
method
public
it_should_have_an_EQ_constant
( )
it_should_not_use_a_converter_if_the_type_is_present()
public
method
public
it_should_not_use_a_converter_if_the_type_is_present
( )
it_should_return_a_string_with_the_wildcard_operators_on_each_side_when_using_contains()
public
method
public
it_should_return_a_string_with_the_wildcard_operators_on_each_side_when_using_contains
( )
it_should_return_a_string_with_the_wildcard_operators_on_the_left_side_when_using_ends_with()
public
method
public
it_should_return_a_string_with_the_wildcard_operators_on_the_left_side_when_using_ends_with
( )
it_should_return_a_string_with_the_wildcard_operators_on_the_right_side_when_using_starts_with()
public
method
public
it_should_return_a_string_with_the_wildcard_operators_on_the_right_side_when_using_starts_with
( )
it_should_return_a_string_with_unescaped_wildcards_when_using_like()
public
method
public
it_should_return_a_string_with_unescaped_wildcards_when_using_like
( )
it_should_return_the_LDAP_filter_correctly_based_on_the_alias_in_use()
public
method
public
it_should_return_the_LDAP_filter_correctly_based_on_the_alias_in_use
( )
it_should_return_the_filter_for_the_value_if_the_value_is_a_BaseOperator_instance()
public
method
public
it_should_return_the_filter_for_the_value_if_the_value_is_a_BaseOperator_instance
( )
it_should_set_if_a_converter_was_used_for_a_specific_alias()
public
method
public
it_should_set_if_a_converter_was_used_for_a_specific_alias
( )
it_should_set_the_alias_based_off_the_attribute()
public
method
public
it_should_set_the_alias_based_off_the_attribute
( )
it_should_set_the_converted_value_for_a_specific_alias()
public
method
public
it_should_set_the_converted_value_for_a_specific_alias
( )
it_should_set_the_translated_attribute_name_for_a_specific_alias()
public
method
public
it_should_set_the_translated_attribute_name_for_a_specific_alias
( )
it_should_throw_LdapQueryException_when_trying_to_set_the_operator_to_an_invalid_type()
public
method
public
it_should_throw_LdapQueryException_when_trying_to_set_the_operator_to_an_invalid_type
( )
it_should_throw_a_LdapQueryException_when_using_an_invalid_attribute_name()
public
method
public
it_should_throw_a_LdapQueryException_when_using_an_invalid_attribute_name
( )
let()
public
method
public
let
( )