MediaWiki
1.32.5
|
Expiry widget. More...
Public Member Functions | |
__construct (Widget $relativeInput, array $options=[]) | |
getConfig (&$config) | |
{} 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 MediaWiki\$config, $options, MediaWiki\Widget\ExpiryInputWidget\$relativeInput, and RequestContext\getMain().
MediaWiki\Widget\ExpiryInputWidget::getConfig | ( | & | $config | ) |
{}
Definition at line 59 of file ExpiryInputWidget.php.
References MediaWiki\$config, and MediaWiki\Widget\ExpiryInputWidget\$required.
|
protected |
Definition at line 52 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().