API17

Difference between revisions of "JLDAP::generatePassword"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JLDAP->generatePassword ($password, $type='md5')
+
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

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JLDAP::generatePassword[edit]

Description[edit]

Generates a LDAP compatible password.

Template:Description:JLDAP::generatePassword [Edit Descripton]

Synopsis[edit]

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[edit]

string encrypted password

Defined in[edit]

libraries/joomla/client/ldap.php (line 483)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JLDAP::generatePassword

Examples[edit]

<CodeExamplesForm />