API17

API17:JArrayHelper::toInteger

From Joomla! Documentation

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