API17

Difference between revisions of "JRegistry::asArray"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Method to recursively convert an object of data to an array.  
 
Method to recursively convert an object of data to an array.  
  
{{Description:JRegistry::asArray}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JRegistry::asArray|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JRegistry->asArray ($data)
+
protected function asArray ($data)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JRegistry::asArray source code''' on [[jplatform:registry/registry.php#cl-369|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JRegistry::asArray|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* [[JRegistry/11.1|JRegistry]]
+
* [[API17:JRegistry::asArray|Other versions of JRegistry::asArray]]
* [[JRegistry::asArray|Other versions of this method]]
+
 
{{SeeAlso:JRegistry::asArray}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JRegistry::asArray
 
category=JRegistry::asArray
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRegistry]][[Category:JRegistry::asArray]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:33, 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.

Joomla 11.1 JRegistry::asArray[edit]

Description[edit]

Method to recursively convert an object of data to an array.


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 Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]