Your PHP skills tool showed me were I needed to improve and how to do it! "あなたの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 ) コンストラクタ__construct(28行目)

これは、ページを作成

  • public アクセス:公共
__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です
(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日午後04時00分38秒を