Actions

API17

Difference between revisions of "JArrayHelper::getValue"

From Joomla! Documentation

m (JoomlaWikiBot moved page JArrayHelper::getValue/11.1 to API17:JArrayHelper::getValue without leaving a redirect: Robot: Moved page)
m (User contributed notes: moving preparation)
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 10:03, 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 JArrayHelper::getValue

Description

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

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

SeeAlso:JArrayHelper::getValue [Edit See Also]

User contributed notes

<CodeExamplesForm />