API17:JArrayHelper::toInteger
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JArrayHelper::toInteger
Description
Function to convert array to integer values.
Description:JArrayHelper::toInteger [Edit Descripton]
Since
Synopsis
public static JArrayHelper::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 in
libraries/joomla/utilities/arrayhelper.php (line 31)
- see source code in BitBucket
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
SeeAlso:JArrayHelper::toInteger
Examples
<CodeExamplesForm />
