mosMainBody

Last reviewed: 18 Nov 2005, Joomla 1.0.3
phpDocumentor

mosMainBody

mosMainBody displays the main body of the page, which is everything between the <body> tags. The page contents are buffered using ob_start and ob_get_contents. The content of this buffer is displayed by mosMainBody. If the request variable mosmsg is set then the message is included before the body in <div> tags, with class="message". In the future it may be possible to display the message as a Javascript alert.

Syntax

void mosMainBody ( )

Defined in

includes/template.php
(includes/frontend.php prior to Joomla 1.1)

Examples

Example: Display the main body of the page.

mosMainBody();

This will display the main body of the page.


Please report any errors on this page to the Developer Documentation Forum.

Last Updated ( Tuesday, 03 January 2006 )