JRegistryFormat::stringToObject: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Converts a formatted string into an object. | Converts a formatted string into an object. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function stringToObject ( | ||
$data | |||
$options=null | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' object Data Object | |||
object Data Object | * '''Defined''' on line 78 of libraries/joomla/registry/format.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/registry/format.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JRegistryFormat::stringToObject source code''' on [[jplatform:registry/format.php#cl-70|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JRegistryFormat|JRegistryFormat]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]] | |||
* | * [[API17:JRegistryFormat::stringToObject|Other versions of JRegistryFormat::stringToObject]] | ||
* [[JRegistryFormat::stringToObject|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistryFormat::stringToObject | category=JRegistryFormat::stringToObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:34, 25 March 2017
JRegistryFormat::stringToObject
Description
Converts a formatted string into an object.
public function stringToObject (
$data
$options=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | string | Formatted string | |
| $options | array | null | An array of options for the formatter. |
See also
JRegistryFormat::stringToObject source code on BitBucket
Class JRegistryFormat
Subpackage Registry- Other versions of JRegistryFormat::stringToObject
User contributed notes
Code Examples