API15

JApplication/ toString: Difference between revisions

From Joomla! Documentation

m clean up
m clean up
 
Line 31: Line 31:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=__toString
  category=__toString
  category=JApplication
  category=JApplication
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 00:15, 25 March 2017

Description

Returns the response


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

Syntax

__toString()


Returns

string

Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

public function __toString()
{
        $compress = $this->getCfg('gzip', false);
        return JResponse::toString($compress);
}


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

Examples

Code Examples