function ldap_servers_servers_list in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_servers/ldap_servers.admin.inc \ldap_servers_servers_list()
- 7.2 ldap_servers/ldap_servers.admin.inc \ldap_servers_servers_list()
LDAP servers list.
Parameters
$sid: server id. if empty list all servers
$actions: True or False indicating if server edit, delete, enable, disable, etc links should show
Return value
The HTML table with the servers list.
1 call to ldap_servers_servers_list()
- ldap_servers_edit_index in ldap_servers/
ldap_servers.admin.inc - @file Defines functions for administrative interface for servers
File
- ldap_servers/
ldap_servers.admin.inc, line 25 - Defines functions for administrative interface for servers
Code
function ldap_servers_servers_list($sid = NULL, $actions = FALSE) {
$variables = array(
'ldap_servers' => $ldap_server = ldap_servers_get_servers($sid, 'all'),
'action' => TRUE,
'type' => 'table',
);
$html = theme('ldap_servers_list', $variables);
return $html;
}