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


Generates a LDAP compatible password.

public function generatePassword (
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 on line 483 of libraries/joomla/client/ldap.php

See also

  • Joomla 11.1 JLDAP::generatePassword source code on BitBucket
  • Joomla 11.1 Class JLDAP
  • Joomla 11.1 Subpackage Client
  • Other versions of JLDAP::generatePassword

User contributed notes

Code Examples