API17

JRegistryFormatJson::objectToString: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Converts an object into a JSON formatted string.  
Converts an object into a JSON formatted string.  


{{subst:Description:JRegistryFormatJson::objectToString}}
 


<source lang="php">
<source lang="php">
Line 38: Line 38:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* [[API17:JRegistryFormatJson::objectToString|Other versions of JRegistryFormatJson::objectToString]]
* [[API17:JRegistryFormatJson::objectToString|Other versions of JRegistryFormatJson::objectToString]]
{{subst:SeeAlso:JRegistryFormatJson::objectToString}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JRegistryFormatJson::objectToString
category=JRegistryFormatJson::objectToString
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:35, 25 March 2017

Joomla 11.1 JRegistryFormatJson::objectToString

Description

Converts an object into a JSON formatted string.


public function objectToString (
        $object
        $options=array
)
Parameter Type Default Description
$object object Data source object.
$options array array() Options used by the formatter.
  • Returns string JSON formatted string.
  • Defined on line 30 of libraries/joomla/registry/format/json.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples