Actions

API17

Difference between revisions of "JRegistryFormatJson::objectToString"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JRegistryFormatJson->objectToString ($object, $options=array())
+
public JRegistryFormatJson::objectToString ($object, $options=array())
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
string JSON formatted string.
 
string JSON formatted string.
 
===Defined in===
 
===Defined in===
libraries/joomla/registry/format/json.php
+
libraries/joomla/registry/format/json.php (line 30)
 +
* see source code in [[jplatform:registry/format/json.php#cl-30|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:07, 23 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JRegistryFormatJson::objectToString

Description

Converts an object into a JSON formatted string.

Description:JRegistryFormatJson::objectToString [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JRegistryFormatJson::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 in

libraries/joomla/registry/format/json.php (line 30)

Referenced by

See also

[Edit See Also]

SeeAlso:JRegistryFormatJson::objectToString

Examples

<CodeExamplesForm />