API15

API15:JObject/toString

From Joomla! Documentation

Description

Object-to-string conversion. Each class can override it as necessary.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

toString()


Returns

string This name of this class

Defined in

libraries/joomla/base/object.php

Importing

jimport( 'joomla.base.object' );

Source Body

function toString()
{
        return get_class($this);
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples