PHP 클래스 Horde_Form_Type_text, horde

상속: extends Horde_Form_Type
파일 보기 프로젝트 열기: horde/horde

공개 프로퍼티들

프로퍼티 타입 설명
$_maxlength
$_regex
$_size

공개 메소드들

메소드 설명
about ( ) Return info about field type.
getMaxLength ( )
getSize ( )
init ( string $regex = '', integer $size = 40, integer $maxlength = null ) The initialisation function for the text variable type.
isValid ( &$var, &$vars, $value, &$message )

메소드 상세

about() 공개 메소드

Return info about field type.
public about ( )

getMaxLength() 공개 메소드

public getMaxLength ( )

getSize() 공개 메소드

public getSize ( )

init() 공개 메소드

The initialisation function for the text variable type.
public init ( string $regex = '', integer $size = 40, integer $maxlength = null )
$regex string Any valid PHP PCRE pattern syntax that needs to be matched for the field to be considered valid. If left empty validity will be checked only for required fields whether they are empty or not. If using this regex test it is advisable to enter a description for this field to warn the user what is expected, as the generated error message is quite generic and will not give any indication where the regex failed.
$size integer The size of the input field.
$maxlength integer The max number of characters.

isValid() 공개 메소드

public isValid ( &$var, &$vars, $value, &$message )

프로퍼티 상세

$_maxlength 공개적으로 프로퍼티

public $_maxlength

$_regex 공개적으로 프로퍼티

public $_regex

$_size 공개적으로 프로퍼티

public $_size