addEntry()
delEntry()
draw()
getBaseEntries()
getEntry()
getInstance()
readChildren()
renameEntry()
__construct()
getServer()
getServerID()
readChildrenNumber()
indexDN()
$entries
$server_id
Abstract class which represents the LDAP tree view ; the draw() method must be implemented by subclasses
package | phpLDAPadmin |
---|---|
subpackage | Tree |
see | \global\HTMLTree |
addEntry(\dn | string $dn)
\dn
string
DN to add
delEntry(\dn $dn)
\dn
DN to remote
draw()
getBaseEntries() : array
array
Base DN entriesgetEntry(\dn $dn) : object
\dn
DN to retrieve
object
Tree DN objectgetInstance($server_id) : object
object
TreereadChildren(\dn $dn, boolean $nolimit)
\dn
DN of the entry
boolean
LDAP Size Limit
renameEntry(\dn $dnOLD, \dn $dnNEW)
\dn
Old DN
\dn
New DN
__construct($server_id)
getServer() : object
object
Server Object for this treegetServerID() : int
int
Server ID that this tree is forreadChildrenNumber(\dn $dn, boolean $nolimit)
Optionally autoread the child entry.
\dn
DN of the entry
boolean
LDAP Size Limit
indexDN(\dn $dn) : \dn
This result will be used as the index for the tree object. Any display of a DN should use the object->dn entry, not the index. The reason we need to do this is because: uid=User A,ou=People,c=AU and uid=User B, ou=PeOpLe, c=au are infact in the same branch, but PLA will show them inconsistently.
\dn
DN to clean
\dn
Lowercase clean DN$entries
$server_id