API15

JApplication/ toString: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Returns the response <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> <...
 
m clean up
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Returns the response
Returns the response


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JApplication/__toString|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JApplication/__toString}}
 
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 29: Line 27:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JApplication/__toString|Edit See Also]]<nowiki>]</nowiki>
<! removed transcluded page call, red link never existed >
</span>
{{SeeAlso:JApplication/__toString}}


===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=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

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