API17:JRegistry::asArray
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRegistry::asArray|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRegistry::asArray|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | protected | + | protected function asArray ($data) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' array Array representation of the input object. | |
| − | array Array representation of the input object. | + | * '''Defined''' on line 377 of libraries/joomla/registry/registry.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/registry/registry.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JRegistry::asArray source code''' on [[jplatform:registry/registry.php#cl-369|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]] | ||
| + | * [[JRegistry::asArray|Other versions of JRegistry::asArray]] | ||
| + | {{SeeAlso:JRegistry::asArray}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRegistry::asArray|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRegistry::asArray|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JRegistry]][[Category:JRegistry::asArray]]</noinclude> | <noinclude>[[Category:JRegistry]][[Category:JRegistry::asArray]]</noinclude> | ||
Revision as of 21:30, 27 April 2011
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.
JRegistry::asArray
Description
Method to recursively convert an object of data to an array.
Description:JRegistry::asArray [Edit Descripton]
protected function asArray ($data)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | object | An object of data to return as an array. |
- Returns array Array representation of the input object.
- Defined on line 377 of libraries/joomla/registry/registry.php
- Since
See also
-
JRegistry::asArray source code on BitBucket
-
Class JRegistry
-
Subpackage Registry
- Other versions of JRegistry::asArray
SeeAlso:JRegistry::asArray [Edit See Also]
User contributed notes
<CodeExamplesForm />
