I think this organisation will be one of the big players of the future in the PHP world. "私はこの組織は、PHPの世界で将来の大きな選手の一人になると思います。"
ダレン

RocksFormComparisionPairクラス

説明

これは、検証の理由のために比較しようとしているフォームフィールドのペアを表します。

これは、フォームの処理と検証を行うための共通の問題を簡素化します。 このクラスは、通常、内部的に使用されます。

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

) / RocksFormComparisionPair.php(13行目)に位置する

メソッドの概要
__construct ( string $itemOne , string $itemTwo , string $message ) RocksFormComparisionPair __construct文字列 $ itemOne、 文字列 $ itemTwo、 文字列 $メッセージ
GetFormName () ボイド GetFormName ()
GetMessage () ボイド GetMessage関数 ()
ItemOne () ボイド ItemOne ()
ItemTwo () ボイド ItemTwo ()
メソッド
(line 25 ) コンストラクタ__コンストラクト (25行目)

これは、フォームcomparissionペアを作成します。

  • public アクセス:公共
__construct ( string $itemOne , string $itemTwo , string $message ) RocksFormComparisionPair __コンストラクト文字列 $ itemOne、 文字列 $ itemTwo、 文字列 $メッセージ
  • $itemOne : this is the name of the first field to compare 文字列 $ itemOne:これは、比較する最初のフィールドの名前です。
  • $itemTwo : this is the name of the second field to compare 文字列 $ itemTwo:これは、比較する2番目のフィールドの名前です
  • $message : this is message that is displayed if the fields are not equal 文字列 $メッセージ :これはフィールドが等しくない場合に表示されるメッセージです。
(line 59 ) GetFormName(ライン59)

これは比較です。ペアのフォーム名の名前を返す

  • public アクセス:公共
GetFormName () ボイド GetFormName()
(line 51 ) GetMessage関数 (51行目)

これは、エラーメッセージの値を返す

  • public アクセス:公共
GetMessage () ボイド getMessage()
(line 35 ) ItemOne(ライン35)

これは、項目1の値を返す

  • public アクセス:公共
ItemOne () ボイド ItemOne()
(line 43 ) ItemTwo(ライン43)

これは、2つ目の項目の値を返す

  • public アクセス:公共
ItemTwo () ボイド ItemTwo()

日付へのコメント:1。 1ページ中1ページ。 平均評価:
9:57am on Saturday, December 3rd, 2011 Daveigh 9:57 2011年12月3日(土曜日)の午前
彼らは私のために多くの新しい扉を開いてきたようにcoimngこれらの記事を保持します。

セキュリティイメージ

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