PHP Класс Contao\FormTextField

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

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

Свойство Тип Описание
$blnForAttribute boolean Add a for attribute
$blnSubmitInput boolean Submit user input
$strPrefix string The CSS class prefix
$strTemplate string Template

Открытые методы

Метод Описание
__get ( string $strKey ) : mixed Return a parameter
__set ( string $strKey, mixed $varValue ) Add specific attributes
generate ( ) : string Generate the widget and return it as string

Защищенные методы

Метод Описание
validator ( mixed $varInput ) : mixed Trim the values

Описание методов

__get() публичный метод

Return a parameter
public __get ( string $strKey ) : mixed
$strKey string The parameter key
Результат mixed The parameter value

__set() публичный метод

Add specific attributes
public __set ( string $strKey, mixed $varValue )
$strKey string The attribute key
$varValue mixed The attribute value

generate() публичный метод

Generate the widget and return it as string
public generate ( ) : string
Результат string The widget markup

validator() защищенный метод

Trim the values
protected validator ( mixed $varInput ) : mixed
$varInput mixed The user input
Результат mixed The validated user input

Описание свойств

$blnForAttribute защищенное свойство

Add a for attribute
protected bool $blnForAttribute
Результат boolean

$blnSubmitInput защищенное свойство

Submit user input
protected bool $blnSubmitInput
Результат boolean

$strPrefix защищенное свойство

The CSS class prefix
protected string $strPrefix
Результат string

$strTemplate защищенное свойство

Template
protected string $strTemplate
Результат string