這將創建頁面
__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)