MasterPageThe MasterPage class.
This class can be used to create page templates that can be used by several pages, which can drastically reduce the amount of code.
Follow these steps to use master pages properly:
Pages that use master pages must NOT add any content outside of any content regions. Doing so will cause the page to display the content BEFORE any other content, even before the <html> tag!
Located in /wigbi_source/php/system/MasterPage.php (line 54)
static build (line 109)
Build the master page, using a certain template file.
static closeContent (line 122)
Close a previously opened content area.
static contentAreas (line 76)
Get all the content areas that have been used so far.
static getContent (line 136)
Get the content of a certain content area.
static getVariable (line 151)
Get the value of a certain variable.
static openContent (line 169)
Open a content area.
All content that is defined between this and the closeContent function will be available to the master template.
static setVariable (line 185)
Set the value of a certain variable.
static variables (line 91)
Get all the variables that have been set so far.
Documentation generated on Sun, 27 Dec 2009 20:12:03 +0100 by phpDocumentor 1.4.1