I thought I knew all about PHP until I found this website! "私はこのウェブサイトを見つけるまで私は、PHPに関するすべてを知っていたと思った!"
ジェン

RocksFormComparisionRegexクラス

説明

これは、検証上の理由から、正規表現に対してフィールドの比較を表しています。

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

  • string $regex: the regex to use for comparision プロパティ:文字列$正規表現:比較のために使用する正規表現
  • string $message: the message to use if the comparision against the regular expression fails. プロパティ:文字列$メッセージ:正規表現との比較の結果が失敗した場合に使用するメッセージ。
  • Dominic Skinner 著者:ドミニクスキナー
  • 0.2.1 バージョン:0.2.1

) / RocksFormComparisionRegex.php(13行目)に位置して

メソッドの概要
__construct ( string $regex , string $message ) RocksFormComparisionRegex __construct文字列 $正規表現文字列 $メッセージ
__get ( ボイド __get ) $名
の方法
(line 23 ) コンストラクタ__construct(23行目)

これは正規表現comparissionを作成します。

  • public アクセス:公共
__construct ( string $regex , string $message ) RocksFormComparisionRegex __construct( 文字列 $正規表現文字列 $メッセージ
  • $regex : this is the regex to compare against the field 文字列 $正規表現 :これはフィールドと比較する正規表現です。
  • $message : this is message that is displayed if the regex does not match the field 文字列 $メッセージ :これは正規表現がフィールドと一致しない場合に表示されるメッセージです。
(line 34 ) __get(34行目)
  • public アクセス:公共
__get ( ボイド __get( ) $名
  • $名

コメントが提供されていない。
セキュリティイメージ

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