Class: Teeple_Validator_Length

Source Location: /validator/Length.php

Class Overview [line 24]

Teeple_Validator
   |
   --Teeple_Validator_Length

長さをチェックします。 マルチバイトも1文字として数えます。

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: Teeple_Validator

Teeple_Validator::execute()
実際のValidationロジックです。子クラスで実装します。
Teeple_Validator::getTargetValue()
Validation対象の値を取得します。
Teeple_Validator::validate()
Validationを実行します。 子クラスで実装されるexecuteメソッドを呼び出します。


Class Details

長さをチェックします。 マルチバイトも1文字として数えます。

[ Top ]


Class Variables

$args = array('minlength','maxlength')

[line 34]

エラーメッセージの引数に渡すプロパティ名

Tags:

  • access - public

Type: array

Overrides: Array

[ Top ]

$maxlength

[line 28]

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]

$minlength

[line 27]

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]


Class Methods

execute

void execute( $obj, $fieldName)

[line 36]

Tags:

  • access - protected

Overrides Teeple_Validator::execute() (実際のValidationロジックです。子クラスで実装します。)

Parameters:

  • $obj -
  • $fieldName -

[ Top ]


Class Constants


Documentation generated on Mon, 26 Apr 2010 08:59:51 +0900 by phpDocumentor 1.4.3