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.
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 |
- Returns
- Defined on line 31 of libraries/joomla/utilities/arrayhelper.php
- Since
- Referenced by
- JTableUser::bind
- JHtmlCategory::categories
- JControllerAdmin::delete
- JForm::filterField
- JAccess::getGroupsByUser
- JAccess::getUsersByGroup
- JHtmlCategory::options
- JTableNested::publish
- JTableExtension::publish
- JTableContent::publish
- JTable::publish
- JControllerAdmin::publish
- JControllerAdmin::saveorder
- JUserHelper::setUserGroups
- JInstallerModule::uninstall
See also[edit]
- JArrayHelper::toInteger source code on BitBucket
- Class JArrayHelper
- Subpackage Utilities
- Other versions of JArrayHelper::toInteger
User contributed notes[edit]
Code Examples[edit]