MediaWiki
1.33.0
|
Expiry widget. More...
Public Member Functions | |
__construct (Widget $relativeInput, array $options=[]) | |
getConfig (&$config) | |
@inheritDoc More... | |
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 $options, and MediaWiki\Widget\ExpiryInputWidget\$relativeInput.
MediaWiki\Widget\ExpiryInputWidget::getConfig | ( | & | $config | ) |
@inheritDoc
Definition at line 57 of file ExpiryInputWidget.php.
References MediaWiki\$config, and 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().