API17

API17:JArrayHelper::toInteger

From Joomla! Documentation

Revision as of 02:21, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JArrayHelper::toInteger

Description

Function to convert array to integer values.


public static function toInteger (
        &$array
        $default=null
)
Parameter Type Default Description
&$array array $array The source array to convert
$default mixed null array) to assign if $array is not an array

See also


User contributed notes

Code Examples