API17:JLDAP::generatePassword
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JLDAP::generatePassword ($password, $type='md5') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 33: | Line 33: | ||
string encrypted password | string encrypted password | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/client/ldap.php | + | libraries/joomla/client/ldap.php (line 483) |
| + | * see source code in [[jplatform:client/ldap.php#cl-483|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:51, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JLDAP::generatePassword
Description
Generates a LDAP compatible password.
Description:JLDAP::generatePassword [Edit Descripton]
Synopsis
public JLDAP::generatePassword ($password, $type='md5')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $password | string | password Clear text password to encrypt | |
| $type | string | 'md5' | type Type of password hash, either md5 or SHA |
Returns
string encrypted password
Defined in
libraries/joomla/client/ldap.php (line 483)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JLDAP::generatePassword
Examples
<CodeExamplesForm />
