API17

JArrayHelper::toInteger: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Function to convert array to integer values.  
Function to convert array to integer values.  


{{subst:Description:JArrayHelper::toInteger}}
 


<source lang="php">
<source lang="php">
Line 54: Line 54:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[API17:JArrayHelper::toInteger|Other versions of JArrayHelper::toInteger]]
* [[API17:JArrayHelper::toInteger|Other versions of JArrayHelper::toInteger]]
{{subst:SeeAlso:JArrayHelper::toInteger}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JArrayHelper::toInteger
category=JArrayHelper::toInteger
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:21, 25 March 2017

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