API17:JRegistryFormat
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one 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|Other versions of | + | * {{JVer|11.1}} '''JRegistryFormat source code''' on [[jplatform:registry/format.php|BitBucket]] |
| + | * {{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 46: | 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
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.
JRegistryFormat
Description
Description:JRegistryFormat [Edit Descripton]
Methods
| 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
jimport( 'joomla.registry.format' );
See also
-
JRegistryFormat source code on BitBucket
-
Subpackage Registry
- Other versions of JRegistryFormat
SeeAlso:JRegistryFormat [Edit See Also]
User contributed notes
<CodeExamplesForm />
