Questo crea la pagina
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage __ construct ([string $ templateFileName = null], [string $ nome_file = null])
- $templateFileName : this is the name of the template file stringa $ templateFileName: questo è il nome del file di template
- $configFileName : this is the configFileName if this is null then the default is used stringa $ nome_file: questo è il nome_file se questo è null allora il predefinito viene utilizzato
__destruct () vuoto __ destruct ()
Questo consente di classe che eredita da questo per aggiungere una variabile al modello
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) vuoto AssignTemplateVariable (string $ varName, string $ varValue, [string $ defaultValue = null])
- $varName : the name of the variable to add stringa $ varName: il nome della variabile da aggiungere
- $varValue : the value of the variable to add stringa $ varValue: il valore della variabile da aggiungere
- $defaultValue : the default value of the variable to add, it is null be default stringa $ defaultValue: il valore predefinito della variabile da aggiungere, è nulla sia predefinita
Questo consente di classe che eredita da questo per avere accesso al l'oggetto di database
Database () Database vuoto ()
Ciò consente eredita da questa classe di avere accesso alla forma pagine
Form () Form vuoto ()
Ciò consente eredita da questa classe di avere accesso alla sessione
Session () vuoto Session ()