dolibarr 21.0.0-alpha
ldap.lib.php File Reference

Ensemble de functions de base pour le module LDAP. More...

Go to the source code of this file.

Functions

 ldap_prepare_head ()
 Initialize the array of tabs for customer invoice.
 
 show_ldap_test_button ($butlabel, $testlabel, $key, $dn, $objectclass)
 Show button test LDAP synchro.
 
 show_ldap_content ($result, $level, $count, $var, $hide=0, $subcount=0)
 Show a LDAP array into an HTML output array.
 

Detailed Description

Ensemble de functions de base pour le module LDAP.

Definition in file ldap.lib.php.

Function Documentation

◆ ldap_prepare_head()

ldap_prepare_head ( )

Initialize the array of tabs for customer invoice.

Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 33 of file ldap.lib.php.

References complete_head_from_modules(), and getDolGlobalString().

◆ show_ldap_content()

show_ldap_content ( $result,
$level,
$count,
$var,
$hide = 0,
$subcount = 0 )

Show a LDAP array into an HTML output array.

Parameters
array<'count'|int|string,int|string|array>$result Array to show. This array is already encoded into charset_output
int$levelLevel
int$countCount
bool$varVar deprecated (replaced by css oddeven)
int<0,1>$hide Hide
int$subcountSubcount
Returns
int

Definition at line 134 of file ldap.lib.php.

References dol_htmlentitiesbr(), and show_ldap_content().

Referenced by show_ldap_content().

◆ show_ldap_test_button()

show_ldap_test_button ( $butlabel,
$testlabel,
$key,
$dn,
$objectclass )

Show button test LDAP synchro.

Parameters
string$butlabelLabel
string$testlabelLabel
string$keyKey
string$dnDn
string$objectclassClass
Returns
void

Definition at line 104 of file ldap.lib.php.

References getDolGlobalString().