Actions

API17

Difference between revisions of "JUserHelper::getUserId"

From Joomla! Documentation

m (JoomlaWikiBot moved page JUserHelper::getUserId/11.1 to API17:JUserHelper::getUserId without leaving a redirect: Robot: Moved page)
m (moving preparation)
 
(One intermediate revision by one user not shown)
Line 27: Line 27:
 
* '''Defined''' on line 271 of libraries/joomla/user/helper.php
 
* '''Defined''' on line 271 of libraries/joomla/user/helper.php
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JUser::getInstance/11.1|JUser::getInstance]]
+
** [[API17:JUser::getInstance|JUser::getInstance]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JUserHelper::getUserId source code''' on [[jplatform:user/helper.php#cl-263|BitBucket]]
 
* {{JVer|11.1}} '''JUserHelper::getUserId source code''' on [[jplatform:user/helper.php#cl-263|BitBucket]]
* {{JVer|11.1}} Class [[JUserHelper/11.1|JUserHelper]]
+
* {{JVer|11.1}} Class [[API17:JUserHelper|JUserHelper]]
* {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* [[JUserHelper::getUserId|Other versions of JUserHelper::getUserId]]
+
* [[API17:JUserHelper::getUserId|Other versions of JUserHelper::getUserId]]
 
{{SeeAlso:JUserHelper::getUserId}}
 
{{SeeAlso:JUserHelper::getUserId}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 48: Line 48:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JUserHelper]][[Category:JUserHelper::getUserId]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:50, 11 May 2013

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::getUserId

Description

Returns userid if a user exists.

Description:JUserHelper::getUserId [Edit Descripton]

public static function getUserId ($username)
Parameter Type Default Description
$username string The username to search on
  • Returns int The user id or 0 if not found
  • Defined on line 271 of libraries/joomla/user/helper.php
  • Referenced by

See also

  • Joomla 11.1 JUserHelper::getUserId source code on BitBucket
  • Joomla 11.1 Class JUserHelper
  • Joomla 11.1 Subpackage User
  • Other versions of JUserHelper::getUserId

SeeAlso:JUserHelper::getUserId [Edit See Also]

User contributed notes

<CodeExamplesForm />