Isto cria a página
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage __ construct ([string $ TEMPLATEfilename = null], [string configfilename $ = null])
- $templateFileName : this is the name of the template file TEMPLATEfilename string $: esse é o nome do arquivo de modelo
- $configFileName : this is the configFileName if this is null then the default is used configfilename string $: esta é a configfilename se este for nulo, então o padrão é usado
__destruct () void __ destruct ()
Isso permite que classe herdada de este para adicionar uma variável ao modelo
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) AssignTemplateVariable vazio (string $ varName, string $ varValue, [string $ defaultValue = null])
- $varName : the name of the variable to add string $ varName: o nome da variável para adicionar
- $varValue : the value of the variable to add string $ varValue: o valor da variável para adicionar
- $defaultValue : the default value of the variable to add, it is null be default string $ defaultValue: o valor padrão da variável a acrescentar, é padrão ser nulo
Isso permite que classe herdada de este ter acesso ao objeto de banco de dados
Database () banco de dados vazio ()
Isto permite que esta classe herdada de ter acesso à forma páginas
Form () Formulário void ()
Isto permite que esta classe herdada de ter acesso à sessão
Session () Sessão void ()