[commits] [Wiki] created: Doc/Dev/PageOutput
Michael Slusarz
slusarz at horde.org
Mon Jun 24 17:41:55 UTC 2013
slusarz Mon, 24 Jun 2013 17:41:55 +0000
Created page: http://wiki.horde.org/Doc/Dev/PageOutput
+ PageOutput Object
{{$page_output}} is a global variable defined by the Horde_Framework.
It is used to format the output of dynamically generated pages.
+++ Page Header
<code type="php">
$page_output->header(array(
'title' => _("List")
));
</code>
++ Page Footer
<code type="php">
$page_output->footer();
</code>
+++ Adding Javascript
<code type="php">
$page_output->addScriptFile('jquery-ui/jquery-1.7.min.js');
</code>
More information about the commits
mailing list