Back to Rule class

Method __toString

public string
__toString
()
Convert this object into a JSON encoded string.
Returns
  • string JSON encoded string
Since
  • 1.7.0
Class: Rule
Project: Joomla

Method __toString - Source code

/**
 * Convert this object into a JSON encoded string.
 *
 * @return  string  JSON encoded string
 *
 * @since   1.7.0
 */
public function __toString()
{
    return json_encode($this->data);
}