previousBody (Previous) (Next) HTML_Progressnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Output

Output – Finishing the page

Description

After adding all the headers and content to the page, you want to get the page to the user. display() directly echoes the page to the browser.

If you want to do something with the result page before pushing it to the browser, use toHtml() . It returns the page as string that can be modified further.

<?php
//push it to the browser
$page->display();
//or put it into a variable
$html $page->toHtml();
?>
previousBody (Previous) (Next) HTML_Progressnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.