Difference between revisions of "JResponse::toString"
From Joomla! Documentation
m (JoomlaWikiBot moved page JResponse::toString/11.1 to API17:JResponse::toString without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Sends all headers prior to returning the string. | Sends all headers prior to returning the string. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function toString ($compress=false) | public static function toString ($compress=false) | ||
Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JApplication::__toString | + | ** [[API17:JApplication::__toString|JApplication::__toString]] |
− | ** [[JError::customErrorPage | + | ** [[API17:JError::customErrorPage|JError::customErrorPage]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JResponse::toString source code''' on [[jplatform:environment/response.php#cl-202|BitBucket]] | * {{JVer|11.1}} '''JResponse::toString source code''' on [[jplatform:environment/response.php#cl-202|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JResponse | + | * {{JVer|11.1}} Class [[API17:JResponse|JResponse]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Environment | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]] |
− | * [[JResponse::toString|Other versions of JResponse::toString]] | + | * [[API17:JResponse::toString|Other versions of JResponse::toString]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JResponse::toString | category=JResponse::toString | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 50: | Line 46: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:36, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JResponse::toString[edit]
Description[edit]
Sends all headers prior to returning the string.
public static function toString ($compress=false)
Parameter | Type | Default | Description |
---|---|---|---|
$compress | boolean | false | If true, compress the data |
See also[edit]
- JResponse::toString source code on BitBucket
- Class JResponse
- Subpackage Environment
- Other versions of JResponse::toString
User contributed notes[edit]
Code Examples[edit]