API17

JRequest::getString: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Fetches and returns a given filtered variable.  
Fetches and returns a given filtered variable.  


{{Description:JRequest::getString}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRequest::getString|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Synopsis===
<source lang="php">
<source lang="php">
public static JRequest::getString ($name, $default= '', $hash= 'default', $mask=0)
public static function getString (
        $name
        $default= ''
        $hash= 'default'
        $mask=0
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 40: Line 42:
|-
|-
|}
|}
===Returns===
* '''Returns'''
* '''Defined''' on line 271 of libraries/joomla/environment/request.php
* '''Referenced by'''
** [[API17:JComponentHelper::renderComponent|JComponentHelper::renderComponent]]
** [[API17:JClientHelper::setCredentialsFromRequest|JClientHelper::setCredentialsFromRequest]]
===See also===
* {{JVer|11.1}} '''JRequest::getString source code''' on [[jplatform:environment/request.php#cl-263|BitBucket]]
* {{JVer|11.1}} Class [[API17:JRequest|JRequest]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[API17:JRequest::getString|Other versions of JRequest::getString]]


===Defined in===
 
libraries/joomla/environment/request.php
===User contributed notes===
===Referenced by===
=== Code Examples ===
* [[JComponentHelper/renderComponent/11.1|JComponentHelper::renderComponent]]
* [[JClientHelper/setCredentialsFromRequest/11.1|JClientHelper::setCredentialsFromRequest]]
===See also===
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JRequest::getString|Edit See Also]]<nowiki>]</nowiki>
</span>
* [[JRequest/11.1|JRequest]]
* [[JRequest::getString|Other versions of this method]]
{{SeeAlso:JRequest::getString}}
===Examples===
<CodeExamplesForm />
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JRequest::getString
category=JRequest::getString
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JRequest]][[Category:JRequest::getString]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:36, 25 March 2017

Joomla 11.1 JRequest::getString

Description

Fetches and returns a given filtered variable.


public static function getString (
        $name
        $default= ''
        $hash= 'default'
        $mask=0
)
Parameter Type Default Description
$name
$default
$hash 'default'
$mask 0

See also


User contributed notes

Code Examples