dolibarr 21.0.0-alpha
|
Class to manage generation of HTML components for ldap module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
selectLdapPasswordHashType ($selected='md5', $htmlname='ldaphashtype', $showempty=0) | |
Return list of types of hash. | |
selectLdapDnSynchroActive ($selected=0, $htmlname='activesynchro', $exclude=array(), $scriptonly=0, $showempty=0) | |
Return list of type of synchronization. | |
selectLdapServerType ($selected='openldap', $htmlname='type', $showempty=0) | |
Return list of ldap server types. | |
selectLdapServerProtocolVersion ($selected='3', $htmlname='ldapprotocolversion', $showempty=0) | |
Return list of ldap server protocol version. | |
Class to manage generation of HTML components for ldap module.
Definition at line 29 of file html.formldap.class.php.
FormLdap::__construct | ( | $db | ) |
Constructor.
Definition at line 52 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 |
string[] | $exclude | Exclude values from the list |
int<0,3> | $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 117 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 73 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 184 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 156 of file html.formldap.class.php.