Actions

API16

JRule/ toString

From Joomla! Documentation

< API16:JRule
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.

Contents

Description

Convert this object into a JSON encoded string.

[Edit Descripton]

Description:JRule/ toString

Syntax

__toString()


Returns

string

Defined in

libraries/joomla/access/rule.php

Importing

jimport( 'joomla.access.rule' );

Source Body

public function __toString()
{
        return json_encode($this->_data);
}

[Edit See Also] SeeAlso:JRule/ toString

Examples

<CodeExamplesForm />