Actions

API17

Difference between revisions of "JUserHelper::getSalt"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JUserHelper::getSalt|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JUserHelper::getSalt|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JUserHelper::getSalt ($encryption= 'md5-hex', $seed= '', $plaintext= '')
+
public static function getSalt (
 +
        $encryption= 'md5-hex'
 +
        $seed= ''
 +
        $plaintext= ''
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 390 of libraries/joomla/user/helper.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/user/helper.php (line 389)
+
** [[getCryptedPassword/11.1|getCryptedPassword]]
* see source code in [[jplatform:user/helper.php#cl-389|BitBucket]]
+
===Referenced by===
+
* [[getCryptedPassword/11.1|getCryptedPassword]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JUserHelper::getSalt source code''' on [[jplatform:user/helper.php#cl-382|BitBucket]]
 +
* {{JVer|11.1}} Class [[JUserHelper/11.1|JUserHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]]
 +
* [[JUserHelper::getSalt|Other versions of JUserHelper::getSalt]]
 +
{{SeeAlso:JUserHelper::getSalt}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JUserHelper::getSalt|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JUserHelper::getSalt|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JUserHelper/11.1|JUserHelper]]
+
===User contributed notes===
* [[JUserHelper::getSalt|Other versions of this method]]
+
{{SeeAlso:JUserHelper::getSalt}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: Line 59:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JUserHelper]][[Category:JUserHelper::getSalt]]</noinclude>
 
<noinclude>[[Category:JUserHelper]][[Category:JUserHelper::getSalt]]</noinclude>

Revision as of 21:55, 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 JUserHelper::getSalt

Description

Returns a salt for the appropriate kind of password encryption.

Description:JUserHelper::getSalt [Edit Descripton]

public static function getSalt (
        $encryption= 'md5-hex'
        $seed= ''
        $plaintext= ''
)
Parameter Type Default Description
$encryption 'md5-hex'
$seed
$plaintext
  • Returns
  • Defined on line 390 of libraries/joomla/user/helper.php
  • Referenced by

See also

SeeAlso:JUserHelper::getSalt [Edit See Also]

User contributed notes

<CodeExamplesForm />