API17

JArrayHelper::toInteger

From Joomla! Documentation

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::toInteger[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]