treeview.inc
Interfaces, Classes, Traits and Enums
- TreeView
- Tree view functions.
Table of Contents
- compareNodeByIdAsDn() : int
- Compares two nodes by interpreting their ID as DN.
- compareByAttributes() : int
- Compares two arrays with LDAP attributes by global $lamOrderByAttribute.
Functions
compareNodeByIdAsDn()
Compares two nodes by interpreting their ID as DN.
compareNodeByIdAsDn(array<string, string> $a, array<string, string> $b) : int
Parameters
- $a : array<string, string>
-
first node
- $b : array<string, string>
-
second node
Return values
int —result
compareByAttributes()
Compares two arrays with LDAP attributes by global $lamOrderByAttribute.
compareByAttributes(array<string, string[]|string> $a, array<string, string[]|string> $b) : int
Parameters
- $a : array<string, string[]|string>
-
first node
- $b : array<string, string[]|string>
-
second node
Return values
int —result