Actions

API17

JRegistryFormatJson::objectToString

From Joomla! Documentation

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]

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

SeeAlso:JRegistryFormatJson::objectToString [Edit See Also]

User contributed notes

<CodeExamplesForm />