API17:JUser::getParam
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JUser::getParam|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JUser::getParam|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function getParam ( |
| + | $key | ||
| + | $default=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed The value or the default if it did not exist | |
| − | mixed The value or the default if it did not exist | + | * '''Defined''' on line 226 of libraries/joomla/user/user.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/user/user.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JUser::getParam source code''' on [[jplatform:user/user.php#cl-218|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JUser/11.1|JUser]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]] | ||
| + | * [[JUser::getParam|Other versions of JUser::getParam]] | ||
| + | {{SeeAlso:JUser::getParam}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JUser::getParam|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JUser::getParam|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 52: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JUser]][[Category:JUser::getParam]]</noinclude> | <noinclude>[[Category:JUser]][[Category:JUser::getParam]]</noinclude> | ||
Revision as of 21:55, 27 April 2011
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.
JUser::getParam
Description
Method to get a parameter value.
Description:JUser::getParam [Edit Descripton]
public function getParam ( $key $default=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | Parameter key | |
| $default | mixed | null | Parameter default value |
- Returns mixed The value or the default if it did not exist
- Defined on line 226 of libraries/joomla/user/user.php
- Since
See also
-
JUser::getParam source code on BitBucket
-
Class JUser
-
Subpackage User
- Other versions of JUser::getParam
SeeAlso:JUser::getParam [Edit See Also]
User contributed notes
<CodeExamplesForm />
