프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_encoding | string | null | Encoding to use | |
$_max | integer | null | If null, there is no maximum length | |
$_messageTemplates | array | ||
$_messageVariables | array | ||
$_min | integer | Minimum length |
메소드 | 설명 | |
---|---|---|
__construct ( integer | array | Zend_Config $options = [] ) | Sets validator options | |
getEncoding ( ) : string | Returns the actual encoding | |
getMax ( ) : integer | null | Returns the max option | |
getMin ( ) : integer | Returns the min option | |
isValid ( string $value ) : boolean | Defined by Zend_Validate_Interface | |
setEncoding ( string $encoding = null ) : Zend_Validate_StringLength | Sets a new encoding to use | |
setMax ( integer | null $max ) : Zend_Validate_StringLength | Sets the max option | |
setMin ( integer $min ) : Zend_Validate_StringLength | Sets the min option |
public __construct ( integer | array | Zend_Config $options = [] ) | ||
$options | integer | array | Zend_Config |
public setEncoding ( string $encoding = null ) : Zend_Validate_StringLength | ||
$encoding | string | |
리턴 | Zend_Validate_StringLength |