這就造成形式comparission對。
__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:這是第二個字段的名稱比較
- $message : this is message that is displayed if the fields are not equal 字符串 $消息 :這是消息顯示,如果字段不等於
這回比較對表單的名稱的名稱
GetFormName () 無效 GetFormName()
這個返回的錯誤信息的價值
GetMessage () 無效 GetMessage函數 ()
這個返回值的第一項
ItemOne () 無效 ItemOne()
這個返回值項目二
ItemTwo () :無效 ItemTwo()