Opening and closing documents.

HTML headers and footers are generated automatically. If a page function is called it can start printing widgets immediately.

If you don't want the user interface to output a header, mark the view as raw.


# Print page with label "Hello world!".
function myfunc ()
{
  $p =& admin_panel::instance ();

  $p->label ("Hello world!");
}

      

See also the user-defineable start_view() and end_view() functions.