Support Joomla!

references:joomla.framework:document:jdocument-fetchbody

Table of Contents

fetchBody

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocument Method fetchBody Reference fetchBody() Never Work in Progress

This function is used to return the document body. It is an abstract function and can be overriden by a subclass to provide this functionality.

Syntax

string fetchBody ()

Examples

Example

global $mainframe;

$document = &JFactory::getDocument();
$body = $document->fetchBody();

This function in the JDocument class returns an empty string.

 
references/joomla.framework/document/jdocument-fetchbody.txt (151632 views) · Last modified: 2007/08/15 14:53