addEntry()
delEntry()
draw()
getBaseEntries()
getDepth()
getEntry()
getInstance()
readChildren()
renameEntry()
__construct()
draw_create_link()
draw_item()
draw_javascript()
draw_logged_in_user()
draw_login_link()
draw_menu()
draw_server_name()
getServer()
getServerID()
get_formatted_dn()
get_logout_menu_item()
get_menu_item()
readChildrenNumber()
indexDN()
$entries
$javascript
$server_id
This class implements a straight HTML tree - no AJAX rendering is used.
package | phpLDAPadmin |
---|---|
subpackage | Tree |
see | \global\AJAXTree |
addEntry(\dn | string $dn)
inherited_from | \Tree::addEntry() |
---|
\dn
string
DN to add
delEntry(\dn $dn)
inherited_from | \Tree::delEntry() |
---|
\dn
DN to remote
draw(boolean $onlytree)
boolean
Only display the tree, or include the server name and menu items
getBaseEntries() : array
inherited_from | \Tree::getBaseEntries() |
---|
array
Base DN entriesgetDepth()
getEntry(\dn $dn) : object
inherited_from | \Tree::getEntry() |
---|
\dn
DN to retrieve
object
Tree DN objectgetInstance($server_id) : object
inherited_from | \Tree::getInstance() |
---|
object
TreereadChildren(\dn $dn, boolean $nolimit)
inherited_from | \Tree::readChildren() |
---|
\dn
DN of the entry
boolean
LDAP Size Limit
renameEntry(\dn $dnOLD, \dn $dnNEW)
inherited_from | \Tree::renameEntry() |
---|
\dn
Old DN
\dn
New DN
__construct($server_id)
inherited_from | \Tree::__construct() |
---|
draw_create_link(\dn $rdn, int $level, \dn $encoded_dn)
\dn
int
\dn
draw_item($item, int $level)
int
Level to start drawing (start to -1)
draw_javascript()
draw_logged_in_user()
draw_login_link()
draw_server_name()
getServer() : object
inherited_from | \Tree::getServer() |
---|
object
Server Object for this treegetServerID() : int
inherited_from | \Tree::getServerID() |
---|
int
Server ID that this tree is forget_formatted_dn($entry, $level)
readChildrenNumber(\dn $dn, boolean $nolimit)
Optionally autoread the child entry.
inherited_from | \Tree::readChildrenNumber() |
---|
\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.
inherited_from | \Tree::indexDN() |
---|
\dn
DN to clean
\dn
Lowercase clean DN$entries
inherited_from | \Tree::$$entries |
---|
$javascript
$server_id
inherited_from | \Tree::$$server_id |
---|