User Tools

Site Tools


page_class

Page class

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();

Scripts and CSS

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.

page_class.txt · Last modified: 2021/03/10 18:56 by sahl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki