PHP Class Contao\TimePeriod

Inheritance: extends Widget
Afficher le fichier Open project: contao/core-bundle

Protected Properties

Свойство Type Description
$arrUnits array Units
$blnSubmitInput boolean Submit user input
$strTemplate string Template

Méthodes publiques

Méthode Description
__set ( string $strKey, mixed $varValue ) Add specific attributes
generate ( ) : string Generate the widget and return it as string

Méthodes protégées

Méthode Description
isSelected ( array $arrOption ) : string Only check against the unit values (see #7246)
validator ( mixed $varInput ) : mixed Do not validate unit fields

Method Details

__set() public méthode

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

generate() public méthode

Generate the widget and return it as string
public generate ( ) : string
Résultat string

isSelected() protected méthode

Only check against the unit values (see #7246)
protected isSelected ( array $arrOption ) : string
$arrOption array The options array
Résultat string The "selected" attribute or an empty string

validator() protected méthode

Do not validate unit fields
protected validator ( mixed $varInput ) : mixed
$varInput mixed
Résultat mixed

Property Details

$arrUnits protected_oe property

Units
protected array $arrUnits
Résultat array

$blnSubmitInput protected_oe property

Submit user input
protected bool $blnSubmitInput
Résultat boolean

$strTemplate protected_oe property

Template
protected string $strTemplate
Résultat string