JUser/getParam
From Joomla! Documentation
< API15:JUserRevision as of 17:17, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Method to get a parameter value
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
...)
Revision as of 17:17, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Method to get a parameter value
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
...)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API15" 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.
Description[edit]
Method to get a parameter value
Template:Description:JUser/getParam
Syntax[edit]
getParam($key, $default=null)
Parameter Name | Default Value | Description |
---|---|---|
$key | $key Parameter key | |
$default | null | $default Parameter default value |
Returns[edit]
mixed The value or the default if it did not exist
Defined in[edit]
libraries/joomla/user/user.php
Importing[edit]
jimport( 'joomla.user.user' );
Source Body[edit]
function getParam( $key, $default = null )
{
return $this->_params->get( $key, $default );
}
[Edit See Also] Template:SeeAlso:JUser/getParam
Examples[edit]
<CodeExamplesForm />