PHP 클래스 Contao\ImageSize

상속: extends Widget
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arrAvailableOptions array Available options
$blnSubmitInput boolean Submit user input
$strTemplate string Template

공개 메소드들

메소드 설명
__set ( string $strKey, mixed $varValue ) Add specific attributes
generate ( ) : string Generate the widget and return it as string

보호된 메소드들

메소드 설명
isValidOption ( mixed $varInput ) : boolean Check whether an input is one of the given options
validator ( mixed $varInput ) : mixed Trim values

메소드 상세

__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

isValidOption() 보호된 메소드

Check whether an input is one of the given options
protected isValidOption ( mixed $varInput ) : boolean
$varInput mixed The input string or array
리턴 boolean True if the selected option exists

validator() 보호된 메소드

Trim values
protected validator ( mixed $varInput ) : mixed
$varInput mixed
리턴 mixed

프로퍼티 상세

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

Available options
protected array $arrAvailableOptions
리턴 array

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

Submit user input
protected bool $blnSubmitInput
리턴 boolean

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

Template
protected string $strTemplate
리턴 string