PHP 클래스 Contao\Password

Provide methods to handle password fields.
상속: extends Widget
파일 보기 프로젝트 열기: contao/core-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$blnForAttribute boolean Add a for attribute
$blnSubmitInput boolean Submit user input
$strTemplate string Template

공개 메소드들

메소드 설명
__construct ( array $arrAttributes = null ) Always decode entities
__set ( string $strKey, mixed $varValue ) Add specific attributes
generate ( ) : string Generate the widget and return it as string
generateConfirmation ( ) : string Generate the widget and return it as string
generateConfirmationLabel ( ) : string Generate the label of the confirmation field and return it as string

보호된 메소드들

메소드 설명
validator ( mixed $varInput ) : string Validate input and set value

메소드 상세

__construct() 공개 메소드

Always decode entities
public __construct ( array $arrAttributes = null )
$arrAttributes array

__set() 공개 메소드

Add specific attributes
public __set ( string $strKey, mixed $varValue )
$strKey string
$varValue mixed

generate() 공개 메소드

Generate the widget and return it as string
public generate ( ) : string
리턴 string

generateConfirmation() 공개 메소드

Generate the widget and return it as string
public generateConfirmation ( ) : string
리턴 string

generateConfirmationLabel() 공개 메소드

Generate the label of the confirmation field and return it as string

validator() 보호된 메소드

Validate input and set value
protected validator ( mixed $varInput ) : string
$varInput mixed
리턴 string

프로퍼티 상세

$blnForAttribute 보호되어 있는 프로퍼티

Add a for attribute
protected bool $blnForAttribute
리턴 boolean

$blnSubmitInput 보호되어 있는 프로퍼티

Submit user input
protected bool $blnSubmitInput
리턴 boolean

$strTemplate 보호되어 있는 프로퍼티

Template
protected string $strTemplate
리턴 string