Difference between revisions of "JArrayHelper::isAssociative"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Method to determine if an array is an associative array. | Method to determine if an array is an associative array. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function isAssociative ($array) | public static function isAssociative ($array) | ||
Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JForm::bind | + | ** [[API17:JForm::bind|JForm::bind]] |
− | ** [[JRegistry::bindData | + | ** [[API17:JRegistry::bindData|JRegistry::bindData]] |
− | ** [[JForm::bindLevel | + | ** [[API17:JForm::bindLevel|JForm::bindLevel]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JArrayHelper::isAssociative source code''' on [[jplatform:utilities/arrayhelper.php#cl-261|BitBucket]] | * {{JVer|11.1}} '''JArrayHelper::isAssociative source code''' on [[jplatform:utilities/arrayhelper.php#cl-261|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JArrayHelper | + | * {{JVer|11.1}} Class [[API17:JArrayHelper|JArrayHelper]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] |
− | * [[JArrayHelper::isAssociative|Other versions of JArrayHelper::isAssociative]] | + | * [[API17:JArrayHelper::isAssociative|Other versions of JArrayHelper::isAssociative]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JArrayHelper::isAssociative | category=JArrayHelper::isAssociative | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 51: | Line 47: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:21, 24 March 2017
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::isAssociative[edit]
Description[edit]
Method to determine if an array is an associative array.
public static function isAssociative ($array)
Parameter | Type | Default | Description |
---|---|---|---|
$array | array | An array to test. |
- Returns boolean True if the array is an associative array.
- Defined on line 269 of libraries/joomla/utilities/arrayhelper.php
- Since
- Referenced by
See also[edit]
- JArrayHelper::isAssociative source code on BitBucket
- Class JArrayHelper
- Subpackage Utilities
- Other versions of JArrayHelper::isAssociative
User contributed notes[edit]
Code Examples[edit]