Method |
Description |
|
compare ( string $value1, string $value2 ) : integer |
Taking into account case-sensitivity compare the 2 string values. |
|
convertValueToString ( mixed $value ) : string |
Certain cases may require the value to be specifically changed to a string, as not every object has default
string representation. The most common wanting to be sorted would likely be a DateTime object. |
|
getComparisonValue ( array | LdapObject $entry, string $attribute ) : mixed |
Determine how to get the value for the attribute from the LDAP entry being compared, and return that value. |
|
getUsortReturnValue ( string $attribute, string $direction, array | LdapObject $a, array | LdapObject $b ) : integer |
Based on the attribute and direction, compare the LDAP objects to get a return value for usort. |
|
resultSortCallback ( mixed $a, mixed $b ) : integer |
Goes through each orderBy value to run a comparison to determine the value to pass back to usort. |
|