PHP Класс Contao\ImageSize

Наследование: extends Widget
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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