API17

Difference between revisions of "JRegistry::toArray"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::toArray|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::toArray|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry::toArray ()
+
public function toArray ()
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array An associative array holding the namespace data
array An associative array holding the namespace data
+
* '''Defined''' on line 308 of libraries/joomla/registry/registry.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 308)
 
* see source code in [[jplatform:registry/registry.php#cl-308|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistry::toArray source code''' on [[jplatform:registry/registry.php#cl-300|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]]
 +
* [[JRegistry::toArray|Other versions of JRegistry::toArray]]
 +
{{SeeAlso:JRegistry::toArray}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::toArray|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::toArray|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::toArray|Other versions of this method]]
 
{{SeeAlso:JRegistry::toArray}}
 
===Examples===
 
 
<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::toArray]]</noinclude>
 
<noinclude>[[Category:JRegistry]][[Category:JRegistry::toArray]]</noinclude>

Revision as of 21:31, 27 April 2011

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::toArray[edit]

Description[edit]

Transforms a namespace to an array.

Template:Description:JRegistry::toArray [Edit Descripton]

public function toArray ()
Parameter Type Default Description
string Namespacetoreturn[optional:nullreturnsthedefaultnamespace]
  • Returns array An associative array holding the namespace data
  • Defined on line 308 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JRegistry::toArray [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />