This has got to be one of the most frequently updated PHP sites, keep up the good work... "これは、最も頻繁に更新されたPHPサイトのいずれかになり良い仕事を維持するために持っている..."
マックス

RocksPageクラス

説明

このページのすべての基礎が含まれている抽象クラスです。

  • Dominic Skinner 著者:ドミニクスキナー
  • 0.2.1 バージョン:0.2.1
  • 抽象的:

) / RocksPage.php(14行目)に位置する

メソッドの概要
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage __construct ([ 文字列 $ templateFileName = NULL]、[ 文字列 $ configFileName = NULL])
__destruct () ボイド __destruct ()
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) ボイド AssignTemplateVariable文字列 $ varNameに文字列 $ varValue、[ 文字列 $ defaultValueは = NULL])
Database () ボイド データベース ()
Form () ボイド フォーム ()
Session () ボイド セッション ()
メソッド
(line 28 ) コンストラクタ__コンストラクト (ライン28)

これは、ページを作成します。

  • public アクセス:公共
__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です。
(line 34 ) デストラクタに__destruct(ライン34)
__destruct () ボイド に__destruct()
(line 96 ) AssignTemplateVariable(ライン96)

これは、このから継承するクラスは、テンプレートに変数を追加することができます

  • protected アクセス:保護された
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でデフォルトです。
(line 52 ) データベース (52行目)

これは、このクラスから継承したデータベース·オブジェクトへのアクセス権を持つことができます

  • protected アクセス:保護された
Database () ボイド データベース ()
(line 69 ) フォーム (69行)

これは、このクラスから継承したページのフォームへのアクセスを持つことができます

  • protected アクセス:保護された
Form () ボイド フォーム ()
(line 81 ) セッション (ライン81)

これは、このから継承するクラスは、セッションへのアクセス権を持つことができます

  • protected アクセス:保護された
Session () ボイド セッション ()

コメントが提供されていません。
セキュリティイメージ

ドミニクスキナーによって書かれた
最終更新日:2011年10月25日午前16時○○分38秒を