The page class is responsible for basic output of a HTML page. To output a basic HTML page do the following:
Page::renderPagestart('Hello world'); echo 'Hello world'; Page::renderPageend();
To include scripts and css on the pages use the Page::JSFile
or Page::CSSFile
functions. These can be used both before and after the page is started. Platform will ensure that the same file is only included once, even if it is mentioned several times in the same script.