MediaWiki master
|
Expiry widget. More...
Inherits Widget.
Public Member Functions | |
__construct (Widget $relativeInput, array $options=[]) | |
getConfig (&$config) | |
Protected Member Functions | |
getJavaScriptClassName () | |
Protected Attributes | |
Widget | $relativeInput |
bool | $required |
Expiry widget.
Allows the user to toggle between a precise time or enter a relative time, regardless, the value comes in as a relative time.
Definition at line 16 of file ExpiryInputWidget.php.
MediaWiki\Widget\ExpiryInputWidget::__construct | ( | Widget | $relativeInput, |
array | $options = [] ) |
Widget | $relativeInput | |
array | $options | Configuration options |
Definition at line 32 of file ExpiryInputWidget.php.
References MediaWiki\Widget\ExpiryInputWidget\$relativeInput.
MediaWiki\Widget\ExpiryInputWidget::getConfig | ( | & | $config | ) |
Definition at line 57 of file ExpiryInputWidget.php.
References MediaWiki\Widget\ExpiryInputWidget\$required.
|
protected |
Definition at line 50 of file ExpiryInputWidget.php.
|
protected |
Definition at line 21 of file ExpiryInputWidget.php.
Referenced by MediaWiki\Widget\ExpiryInputWidget\__construct().
|
protected |
Definition at line 26 of file ExpiryInputWidget.php.
Referenced by MediaWiki\Widget\ExpiryInputWidget\getConfig().