dolibarr
x.y.z
|
Class to manage generation of HTML components for ldap module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. More... | |
selectLdapPasswordHashType ($selected='md5', $htmlname='ldaphashtype', $showempty=0) | |
Return list of types of hash. More... | |
selectLdapDnSynchroActive ($selected=0, $htmlname='activesynchro', $exclude=array(), $scriptonly=0, $showempty=0) | |
Return list of type of synchronization. More... | |
selectLdapServerType ($selected='openldap', $htmlname='type', $showempty=0) | |
Return list of ldap server types. More... | |
selectLdapServerProtocolVersion ($selected='3', $htmlname='ldapprotocolversion', $showempty=0) | |
Return list of ldap server protocol version. More... | |
Class to manage generation of HTML components for ldap module.
Definition at line 28 of file html.formldap.class.php.
FormLdap::__construct | ( | $db | ) |
Constructor.
Definition at line 51 of file html.formldap.class.php.
FormLdap::selectLdapDnSynchroActive | ( | $selected = 0 , |
|
$htmlname = 'activesynchro' , |
|||
$exclude = array() , |
|||
$scriptonly = 0 , |
|||
$showempty = 0 |
|||
) |
Return list of type of synchronization.
int | $selected | Preselected type |
string | $htmlname | Name of field in form |
array | $exclude | Exclude values from the list |
int | $scriptonly | Add warning if synchro only work with a script (0 = disable, 1 = Dolibarr2ldap, 2 = ldap2dolibarr, 3 = all) |
int | $showempty | Add an empty field |
Definition at line 116 of file html.formldap.class.php.
FormLdap::selectLdapPasswordHashType | ( | $selected = 'md5' , |
|
$htmlname = 'ldaphashtype' , |
|||
$showempty = 0 |
|||
) |
Return list of types of hash.
string | $selected | Preselected type |
string | $htmlname | Name of field in form |
int | $showempty | Add an empty field |
Definition at line 72 of file html.formldap.class.php.
FormLdap::selectLdapServerProtocolVersion | ( | $selected = '3' , |
|
$htmlname = 'ldapprotocolversion' , |
|||
$showempty = 0 |
|||
) |
Return list of ldap server protocol version.
string | $selected | Preselected type |
string | $htmlname | Name of field in form |
int | $showempty | Add an empty field |
Definition at line 183 of file html.formldap.class.php.
FormLdap::selectLdapServerType | ( | $selected = 'openldap' , |
|
$htmlname = 'type' , |
|||
$showempty = 0 |
|||
) |
Return list of ldap server types.
string | $selected | Preselected type |
string | $htmlname | Name of field in form |
int | $showempty | Add an empty field |
Definition at line 155 of file html.formldap.class.php.