这将创建页面
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage _构造 ([ 字符串 $ templateFileName = NULL],[ 字符串 $ configFileName = NULL)
- $templateFileName : this is the name of the template file 字符串 $ templateFileName:这是模板文件的名称
- $configFileName : this is the configFileName if this is null then the default is used 字符串 $ configFileName:这是configFileName,如果这是空的,则默认使用
__destruct () 函数void __ destruct()
这使得从这个类继承来的模板添加一个变量
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) 无效 AssignTemplateVariable( 字符串 $ varName的 字符串 $ varValue,[ 字符串 美元的DefaultValue = NULL)
- $varName : the name of the variable to add 字符串 $ varName的 变量的名称,添加
- $varValue : the value of the variable to add 字符串 $ varValue:添加变量的值
- $defaultValue : the default value of the variable to add, it is null be default 字符串 美元的 DefaultValue:添加的变量的默认值,它是空的是默认
这使得从这个类继承来访问数据库对象
Database () 无效的 数据库 (1)
这使得从这个类继承访问页面的形式
Form () 无效的 表格 (1)
这使得从这个类继承访问会话
Session () 无效 会议 (1)