Difference between revisions of "JRegistryFormat"
From Joomla! Documentation
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JRegistryFormat== | ||
+ | ===Description=== | ||
+ | {{Description:JRegistryFormat}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JRegistryFormat|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRegistryFormat|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JRegistryFormat::objectToString/11.1|objectToString]] | |[[JRegistryFormat::objectToString/11.1|objectToString]] | ||
|Converts an object into a formatted string. | |Converts an object into a formatted string. | ||
|- | |- | ||
+ | |public | ||
|[[JRegistryFormat::stringToObject/11.1|stringToObject]] | |[[JRegistryFormat::stringToObject/11.1|stringToObject]] | ||
|Converts a formatted string into an object. | |Converts a formatted string into an object. | ||
|- | |- | ||
+ | |public static | ||
|[[JRegistryFormat::getInstance/11.1|getInstance]] | |[[JRegistryFormat::getInstance/11.1|getInstance]] | ||
|Returns a reference to a Format object, only creating it if it doesn't already exist. | |Returns a reference to a Format object, only creating it if it doesn't already exist. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/registry/format.php | ||
+ | * '''Extended by''' | ||
+ | ** [[JRegistryFormatIni/11.1|JRegistryFormatIni]] | ||
+ | ** [[JRegistryFormatJson/11.1|JRegistryFormatJson]] | ||
+ | ** [[JRegistryFormatPhp/11.1|JRegistryFormatPhp]] | ||
+ | ** [[JRegistryFormatXml/11.1|JRegistryFormatXml]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.registry.format' );</source> | <source lang="php">jimport( 'joomla.registry.format' );</source> | ||
===See also=== | ===See also=== | ||
− | * JRegistryFormat source code | + | * {{JVer|11.1}} '''JRegistryFormat source code''' on [[jplatform:registry/format.php|BitBucket]] |
− | * [[JRegistryFormat|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Registry/11.1|Registry]] |
+ | * [[JRegistryFormat|Other versions of JRegistryFormat]] | ||
{{SeeAlso:JRegistryFormat}} | {{SeeAlso:JRegistryFormat}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormat|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRegistryFormat|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 48: | Line 50: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JRegistryFormat]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JRegistryFormat]]</noinclude> |
Revision as of 14:00, 29 August 2012
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.
JRegistryFormat[edit]
Description[edit]
Template:Description:JRegistryFormat [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | objectToString | Converts an object into a formatted string. |
public | stringToObject | Converts a formatted string into an object. |
public static | getInstance | Returns a reference to a Format object, only creating it if it doesn't already exist. |
- Defined in libraries/joomla/registry/format.php
- Extended by
Importing[edit]
jimport( 'joomla.registry.format' );
See also[edit]
- JRegistryFormat source code on BitBucket
- Subpackage Registry
- Other versions of JRegistryFormat
Template:SeeAlso:JRegistryFormat [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />