これは、ページを作成
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage __construct([ 文字列 $ 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 () ボイド セッション ()