Actions

API17

Difference between revisions of "JArrayHelper::toInteger"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JArrayHelper::toInteger|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JArrayHelper::toInteger|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JArrayHelper::toInteger (&$array, $default=null)
+
public static function toInteger (
 +
        &$array
 +
        $default=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 31 of libraries/joomla/utilities/arrayhelper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/utilities/arrayhelper.php
+
* '''Referenced by'''
===Referenced by===
+
** [[JTableUser::bind/11.1|JTableUser::bind]]
* [[JTableUser/bind/11.1|JTableUser::bind]]
+
** [[JHtmlCategory::categories/11.1|JHtmlCategory::categories]]
* [[JHtmlCategory/categories/11.1|JHtmlCategory::categories]]
+
** [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]]
* [[JControllerAdmin/delete/11.1|JControllerAdmin::delete]]
+
** [[JForm::filterField/11.1|JForm::filterField]]
* [[JForm/filterField/11.1|JForm::filterField]]
+
** [[JAccess::getGroupsByUser/11.1|JAccess::getGroupsByUser]]
* [[JAccess/getGroupsByUser/11.1|JAccess::getGroupsByUser]]
+
** [[JAccess::getUsersByGroup/11.1|JAccess::getUsersByGroup]]
* [[JAccess/getUsersByGroup/11.1|JAccess::getUsersByGroup]]
+
** [[JHtmlCategory::options/11.1|JHtmlCategory::options]]
* [[JHtmlCategory/options/11.1|JHtmlCategory::options]]
+
** [[JTableNested::publish/11.1|JTableNested::publish]]
* [[JTableNested/publish/11.1|JTableNested::publish]]
+
** [[JTableExtension::publish/11.1|JTableExtension::publish]]
* [[JTableExtension/publish/11.1|JTableExtension::publish]]
+
** [[JTableContent::publish/11.1|JTableContent::publish]]
* [[JTableContent/publish/11.1|JTableContent::publish]]
+
** [[JTable::publish/11.1|JTable::publish]]
* [[JTable/publish/11.1|JTable::publish]]
+
** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]]
* [[JControllerAdmin/publish/11.1|JControllerAdmin::publish]]
+
** [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]]
* [[JControllerAdmin/saveorder/11.1|JControllerAdmin::saveorder]]
+
** [[JUserHelper::setUserGroups/11.1|JUserHelper::setUserGroups]]
* [[JUserHelper/setUserGroups/11.1|JUserHelper::setUserGroups]]
+
** [[JInstallerModule::uninstall/11.1|JInstallerModule::uninstall]]
* [[JInstallerModule/uninstall/11.1|JInstallerModule::uninstall]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JArrayHelper::toInteger source code''' on [[jplatform:utilities/arrayhelper.php#cl-23|BitBucket]]
 +
* {{JVer|11.1}} Class [[JArrayHelper/11.1|JArrayHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JArrayHelper::toInteger|Other versions of JArrayHelper::toInteger]]
 +
{{SeeAlso:JArrayHelper::toInteger}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JArrayHelper::toInteger|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JArrayHelper::toInteger|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JArrayHelper/11.1|JArrayHelper]]
+
===User contributed notes===
* [[JArrayHelper::toInteger|Other versions of this method]]
+
{{SeeAlso:JArrayHelper::toInteger}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 67: Line 68:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JArrayHelper]][[Category:JArrayHelper::toInteger]]</noinclude>
 
<noinclude>[[Category:JArrayHelper]][[Category:JArrayHelper::toInteger]]</noinclude>

Revision as of 20:11, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JArrayHelper::toInteger

Description

Function to convert array to integer values.

Description:JArrayHelper::toInteger [Edit Descripton]

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

SeeAlso:JArrayHelper::toInteger [Edit See Also]

User contributed notes

<CodeExamplesForm />