API17

Difference between revisions of "JRegistry::toString"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::toString|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::toString|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry::toString ($format= 'JSON', $options=array())
+
public function toString (
 +
        $format= 'JSON'
 +
        $options=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string Namespace in string format
string Namespace in string format
+
* '''Defined''' on line 333 of libraries/joomla/registry/registry.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 333)
 
* see source code in [[jplatform:registry/registry.php#cl-333|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistry::toString source code''' on [[jplatform:registry/registry.php#cl-325|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]]
 +
* [[JRegistry::toString|Other versions of JRegistry::toString]]
 +
{{SeeAlso:JRegistry::toString}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::toString|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::toString|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::toString|Other versions of this method]]
 
{{SeeAlso:JRegistry::toString}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JRegistry]][[Category:JRegistry::toString]]</noinclude>
 
<noinclude>[[Category:JRegistry]][[Category:JRegistry::toString]]</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::toString[edit]

Description[edit]

Get a namespace in a given string format.

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

public function toString (
        $format= 'JSON'
        $options=array
)
Parameter Type Default Description
$format string 'JSON' Format to return the string in
$options mixed array() Parameters used by the formatter, see formatters for more info
  • Returns string Namespace in string format
  • Defined on line 333 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also[edit]

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

User contributed notes[edit]

<CodeExamplesForm />