これは、ページを作成します。
__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:これは、これがnullの場合、デフォルトが使用されているconfigFileNameです。
__destruct () ボイド に__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に :追加する変数のデフォルト値は、それがnullでデフォルトです。
これは、このクラスから継承したデータベース·オブジェクトへのアクセス権を持つことができます
Database () ボイド データベース ()
これは、このクラスから継承したページのフォームへのアクセスを持つことができます
Form () ボイド フォーム ()
これは、このから継承するクラスは、セッションへのアクセス権を持つことができます
Session () ボイド セッション ()