|
dolibarr 19.0.4
|
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 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.
References Ldap\SYNCHRO_DOLIBARR_TO_LDAP, Ldap\SYNCHRO_LDAP_TO_DOLIBARR, and Ldap\SYNCHRO_NONE.
| 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.