I had no idea at all about PHP or programming until I started reading your website! "私はあなたのウェブサイトを読み始めるまで私は、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 ) コンストラクタ__construct(25行目)

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

  • public アクセス:公共
__construct ( string $itemOne , string $itemTwo , string $message ) RocksFormComparisionPair __construct( 文字列 $ 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 of 1。 平均評価:
9:57am on Saturday, December 3rd, 2011 土曜日に Daveigh 9:57、2011年12月3日
彼らは私のために多くの新しい扉を開いて、これらの記事はcoimngしてください。

セキュリティイメージ

ドミニクスキナーによって書か
最終更新日:2011年10月25日午後04時00分38秒を