Actions

API17

Difference between revisions of "JArrayHelper::toInteger"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (moving preparation)
 
(4 intermediate revisions by 2 users 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===
+
** [[API17:JTableUser::bind|JTableUser::bind]]
* [[JTableUser/bind/11.1|JTableUser::bind]]
+
** [[API17:JHtmlCategory::categories|JHtmlCategory::categories]]
* [[JHtmlCategory/categories/11.1|JHtmlCategory::categories]]
+
** [[API17:JControllerAdmin::delete|JControllerAdmin::delete]]
* [[JControllerAdmin/delete/11.1|JControllerAdmin::delete]]
+
** [[API17:JForm::filterField|JForm::filterField]]
* [[JForm/filterField/11.1|JForm::filterField]]
+
** [[API17:JAccess::getGroupsByUser|JAccess::getGroupsByUser]]
* [[JAccess/getGroupsByUser/11.1|JAccess::getGroupsByUser]]
+
** [[API17:JAccess::getUsersByGroup|JAccess::getUsersByGroup]]
* [[JAccess/getUsersByGroup/11.1|JAccess::getUsersByGroup]]
+
** [[API17:JHtmlCategory::options|JHtmlCategory::options]]
* [[JHtmlCategory/options/11.1|JHtmlCategory::options]]
+
** [[API17:JTableNested::publish|JTableNested::publish]]
* [[JTableNested/publish/11.1|JTableNested::publish]]
+
** [[API17:JTableExtension::publish|JTableExtension::publish]]
* [[JTableExtension/publish/11.1|JTableExtension::publish]]
+
** [[API17:JTableContent::publish|JTableContent::publish]]
* [[JTableContent/publish/11.1|JTableContent::publish]]
+
** [[API17:JTable::publish|JTable::publish]]
* [[JTable/publish/11.1|JTable::publish]]
+
** [[API17:JControllerAdmin::publish|JControllerAdmin::publish]]
* [[JControllerAdmin/publish/11.1|JControllerAdmin::publish]]
+
** [[API17:JControllerAdmin::saveorder|JControllerAdmin::saveorder]]
* [[JControllerAdmin/saveorder/11.1|JControllerAdmin::saveorder]]
+
** [[API17:JUserHelper::setUserGroups|JUserHelper::setUserGroups]]
* [[JUserHelper/setUserGroups/11.1|JUserHelper::setUserGroups]]
+
** [[API17:JInstallerModule::uninstall|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 [[API17:JArrayHelper|JArrayHelper]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
 +
* [[API17: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:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:44, 11 May 2013

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 />