JArrayHelper::getValue/1.5

From Joomla! Documentation
< JArrayHelper::getValue
Revision as of 19:31, 25 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Joomla 1.5 JArrayHelper::getValue

Description

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

Description:JArrayHelper::getValue [Edit Descripton]

public 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)
  • Returns mixed The value from the source array
  • Defined on line 186 of libraries/joomla/utilities/arrayhelper.php
  • Since Joomla 1.5
  • Referenced by

See also

SeeAlso:JArrayHelper::getValue [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox