이것은 양식 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 ()