Difference between revisions of "JLDAP::generatePassword"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→See also: moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JLDAP::generatePassword|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JLDAP::generatePassword|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function generatePassword ( |
+ | $password | ||
+ | $type='md5' | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string encrypted password | |
− | string encrypted password | + | * '''Defined''' on line 483 of libraries/joomla/client/ldap.php |
− | |||
− | libraries/joomla/client/ldap.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JLDAP::generatePassword source code''' on [[jplatform:client/ldap.php#cl-475|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JLDAP|JLDAP]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Client|Client]] | ||
+ | * [[API17:JLDAP::generatePassword|Other versions of JLDAP::generatePassword]] | ||
+ | {{SeeAlso:JLDAP::generatePassword}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JLDAP::generatePassword|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JLDAP::generatePassword|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 50: | Line 51: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:04, 11 May 2013
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.
JLDAP::generatePassword[edit]
Description[edit]
Generates a LDAP compatible password.
Template:Description:JLDAP::generatePassword [Edit Descripton]
public function 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 on line 483 of libraries/joomla/client/ldap.php
See also[edit]
- JLDAP::generatePassword source code on BitBucket
- Class JLDAP
- Subpackage Client
- Other versions of JLDAP::generatePassword
Template:SeeAlso:JLDAP::generatePassword [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />