PHP Class DateInput

Inheritance: extends Nette\Forms\Controls\BaseControl
Afficher le fichier Open project: nette/forms Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $label = NULL )
getControl ( ) Generates control's HTML element.
getValue ( ) : DateTimeImmutable | null
isFilled ( ) : boolean
loadHttpData ( )
setValue ( $value )
validateDate ( Nette\Forms\IControl $control ) : boolean

Method Details

__construct() public méthode

public __construct ( $label = NULL )

getControl() public méthode

Generates control's HTML element.
public getControl ( )

getValue() public méthode

public getValue ( ) : DateTimeImmutable | null
Résultat DateTimeImmutable | null

isFilled() public méthode

public isFilled ( ) : boolean
Résultat boolean

loadHttpData() public méthode

public loadHttpData ( )

setValue() public méthode

public setValue ( $value )

validateDate() public static méthode

public static validateDate ( Nette\Forms\IControl $control ) : boolean
$control Nette\Forms\IControl
Résultat boolean