MediaWiki
master
ParamType.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Message
;
4
11
enum
ParamType
:
string
{
13
case
TEXT =
'text'
;
14
16
case
NUM =
'num'
;
17
22
case
DURATION_LONG =
'duration'
;
23
28
case
DURATION_SHORT =
'period'
;
29
39
case
EXPIRY =
'expiry'
;
40
46
case
DATETIME =
'datetime'
;
47
53
case
DATE =
'date'
;
54
60
case
TIME =
'time'
;
61
66
case
GROUP =
'group'
;
67
69
case
SIZE =
'size'
;
70
72
case
BITRATE =
'bitrate'
;
73
75
case
LIST =
'list'
;
76
84
case
RAW =
'raw'
;
85
91
case
PLAINTEXT =
'plaintext'
;
92
97
public
static
function
values
(): array {
98
return
array_column( self::cases(),
'value'
);
99
}
100
}
Wikimedia\Message
Definition
DataMessageValue.php:3
Wikimedia\Message\ParamType
ParamType
The constants used to specify parameter types.
Definition
ParamType.php:11
Wikimedia\Message\values
@ values
A comma-separated list.
Definition
ListType.php:26
includes
libs
Message
ParamType.php
Generated on Sat Nov 15 2025 11:25:11 for MediaWiki by
1.10.0