This creates the page
RocksPage
__construct
([string $templateFileName = null], [string $configFileName = null])
-
string
$templateFileName: this is the name of the template file
-
string
$configFileName: this is the configFileName if this is null then the default is used
This allows class inheriting from this to add a variable to the template
void
AssignTemplateVariable
(string $varName, string $varValue, [string $defaultValue = null])
-
string
$varName: the name of the variable to add
-
string
$varValue: the value of the variable to add
-
string
$defaultValue: the default value of the variable to add, it is null be default
This allows class inheriting from this to have access to the database object
void
Database
()
This allows class inheriting from this to have access to the pages form
void
Form
()
This allows class inheriting from this to have access to the session
void
Session
()