Actions

API17

Difference between revisions of "JLDAP::generatePassword"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLDAP::generatePassword|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLDAP::generatePassword|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JLDAP::generatePassword ($password, $type='md5')
+
public function generatePassword (
 +
        $password
 +
        $type='md5'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string encrypted password
string encrypted password
+
* '''Defined''' on line 483 of libraries/joomla/client/ldap.php
===Defined in===
+
libraries/joomla/client/ldap.php (line 483)
+
* see source code in [[jplatform:client/ldap.php#cl-483|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLDAP::generatePassword source code''' on [[jplatform:client/ldap.php#cl-475|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLDAP/11.1|JLDAP]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]]
 +
* [[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>
* [[JLDAP/11.1|JLDAP]]
+
===User contributed notes===
* [[JLDAP::generatePassword|Other versions of this method]]
+
{{SeeAlso:JLDAP::generatePassword}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLDAP]][[Category:JLDAP::generatePassword]]</noinclude>
 
<noinclude>[[Category:JLDAP]][[Category:JLDAP::generatePassword]]</noinclude>

Revision as of 20:16, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JLDAP::generatePassword

Description

Generates a LDAP compatible password.

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

SeeAlso:JLDAP::generatePassword [Edit See Also]

User contributed notes

<CodeExamplesForm />