API17

Difference between revisions of "JArrayHelper::getValue"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
(2 intermediate revisions by the same user not shown)
Line 48: Line 48:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JUser::bind/11.1|JUser::bind]]
+
** [[API17:JUser::bind|JUser::bind]]
** [[JModelForm::loadForm/11.1|JModelForm::loadForm]]
+
** [[API17:JModelForm::loadForm|JModelForm::loadForm]]
** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]]
+
** [[API17:JControllerAdmin::publish|JControllerAdmin::publish]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JArrayHelper::getValue source code''' on [[jplatform:utilities/arrayhelper.php#cl-196|BitBucket]]
 
* {{JVer|11.1}} '''JArrayHelper::getValue source code''' on [[jplatform:utilities/arrayhelper.php#cl-196|BitBucket]]
* {{JVer|11.1}} Class [[JArrayHelper/11.1|JArrayHelper]]
+
* {{JVer|11.1}} Class [[API17:JArrayHelper|JArrayHelper]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JArrayHelper::getValue|Other versions of JArrayHelper::getValue]]
+
* [[API17:JArrayHelper::getValue|Other versions of JArrayHelper::getValue]]
 
{{SeeAlso:JArrayHelper::getValue}}
 
{{SeeAlso:JArrayHelper::getValue}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 71: Line 71:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JArrayHelper]][[Category:JArrayHelper::getValue]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 19:44, 11 May 2013

The "API17" 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.

Joomla 11.1 JArrayHelper::getValue[edit]

Description[edit]

Utility function to return a value from a named array or a specified default.

Template:Description:JArrayHelper::getValue [Edit Descripton]

public static function getValue (
        &$array
        $name
        $default=null
        $type=''
)
Parameter Type Default Description
&$array array $array A named array
$name string The key to search for
$default mixed null The default value to give if no key found
$type string Return type for the variable (INT, FLOAT, STRING, WORD, BOOLEAN, ARRAY)

See also[edit]

Template:SeeAlso:JArrayHelper::getValue [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />