/plugins/ldapquery/functions.phpFunctions used by ldapquery plugin.
include_once
(SM_PATH.'plugins/ldapquery/class.schema.php')
(line 21)
include_once
(SM_PATH.'functions/display_messages.php')
(line 26)
include_once
(SM_PATH.'functions/forms.php')
(line 24)
include_once
(SM_PATH.'config/ldapquery_config.php')
(line 44)
Including site config
include_once
(SM_PATH.'plugins/ldapquery/config.php')
(line 46)
include_once
(SM_PATH.'plugins/ldapquery/config_default.php')
(line 31)
ldapquery_abook_form (line 485)
Creates address book form.
All data is in hidden fields. Only button is visible.
ldapquery_compattrs (line 180)
compare attributes for sorting results
ldapquery_compcns (line 210)
compare cn attributes for sorting results by lastname This is a bit of a hack for those of us who don't have surname attributes in our LDAP records (so we can't just select it in "sort by".
ldapquery_dispresultsMulti (line 228)
ldapquery_dispresultsMulti - display HTML results from an LDAP query
takes the list of attributes that were searched for and the returned results as parameters
ldapquery_dispresultsSingle (line 283)
display HTML results from an LDAP query
with each record being one row in a single table takes the list of attributes that were searched for and the returned results as parameters
ldapquery_format_results (line 357)
Formats and sanitizes ldap results.
Provides different handling for labeleduri and mail values.
ldapquery_ldapspecialchars (line 468)
Sanitizes ldap query strings.
See rfc2254
ldapquery_lnf (line 190)
Convert a string with a name in it in firstname first
format to a lastname first formatted string
ldapquery_menuline_function (line 84)
Adds entry to menu line
(internal function)
ldapquery_options_function (line 100)
Add options block
(internal function)
ldapquery_prefs_function (line 160)
Load plugin preferences
(internal function)
ldapquery_save_function (line 120)
Save options
(internal function)
ldapquery_set_loadinfo_function (line 146)
Set optpage_name displayed when settings are saved
(internal function)
ldapquery_ShowCheckboxes (line 418)
Create checkboxes
ldapquery_ShowOption (line 401)
Create html option tags
ldq_arraytolower (line 62)
lowercase elements of array
callback function
ldq_arraytrim (line 74)
trim values of array
callback function
ldq_check_setup (line 567)
Checks if NaSMail configuration and PHP setup are correct.
ldq_error_box (line 620)
Wrapper arround standard error_box function.
Function is used to create error boxes that are centered and does not take whole page width.
ldq_hidden_search_fields (line 583)
Creates hidden form fields from POST data
ldq_load_schemas (line 434)
Reads data about supported ldap schemas and loads it into object.
Documentation generated on Sun, 22 Nov 2009 17:36:30 +0200 by phpDocumentor 1.4.3