MediaWiki
REL1_39
ParamType.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Message
;
4
11
class
ParamType
{
13
public
const
TEXT
=
'text'
;
14
16
public
const
NUM
=
'num'
;
17
22
public
const
DURATION_LONG
=
'duration'
;
23
28
public
const
DURATION_SHORT
=
'period'
;
29
39
public
const
EXPIRY
=
'expiry'
;
40
46
public
const
DATETIME
=
'datetime'
;
47
53
public
const
DATE
=
'date'
;
54
60
public
const
TIME
=
'time'
;
61
66
public
const
GROUP
=
'group'
;
67
72
public
const
OBJECT
=
'object'
;
73
75
public
const
SIZE
=
'size'
;
76
78
public
const
BITRATE
=
'bitrate'
;
79
81
public
const
LIST
=
'list'
;
82
90
public
const
RAW
=
'raw'
;
91
97
public
const
PLAINTEXT
=
'plaintext'
;
98
}
Wikimedia\Message\ParamType
The constants used to specify parameter types.
Definition
ParamType.php:11
Wikimedia\Message\ParamType\DURATION_SHORT
const DURATION_SHORT
A number of seconds, to be formatted as natural language text in an abbreviated way.
Definition
ParamType.php:28
Wikimedia\Message\ParamType\LIST
const LIST
A list of values.
Definition
ParamType.php:81
Wikimedia\Message\ParamType\DATETIME
const DATETIME
A date time in one of the formats accepted by the Wikimedia\Timestamp library.
Definition
ParamType.php:46
Wikimedia\Message\ParamType\TIME
const TIME
A time in one of the formats accepted by the Wikimedia\Timestamp library.
Definition
ParamType.php:60
Wikimedia\Message\ParamType\EXPIRY
const EXPIRY
An expiry time.
Definition
ParamType.php:39
Wikimedia\Message\ParamType\RAW
const RAW
A text parameter which is substituted after formatter processing.
Definition
ParamType.php:90
Wikimedia\Message\ParamType\TEXT
const TEXT
A simple text string or another MessageValue, not otherwise formatted.
Definition
ParamType.php:13
Wikimedia\Message\ParamType\SIZE
const SIZE
A number of bytes.
Definition
ParamType.php:75
Wikimedia\Message\ParamType\NUM
const NUM
A number, to be formatted using local digits and separators.
Definition
ParamType.php:16
Wikimedia\Message\ParamType\GROUP
const GROUP
User Group.
Definition
ParamType.php:66
Wikimedia\Message\ParamType\DURATION_LONG
const DURATION_LONG
A number of seconds, to be formatted as natural language text.
Definition
ParamType.php:22
Wikimedia\Message\ParamType\DATE
const DATE
A date in one of the formats accepted by the Wikimedia\Timestamp library.
Definition
ParamType.php:53
Wikimedia\Message\ParamType\PLAINTEXT
const PLAINTEXT
A text parameter which is substituted after formatter processing.
Definition
ParamType.php:97
Wikimedia\Message\ParamType\BITRATE
const BITRATE
A number of bits per second.
Definition
ParamType.php:78
Wikimedia\Message\ParamType\OBJECT
const OBJECT
For arbitrary stringable objects.
Definition
ParamType.php:72
Wikimedia\Message
Definition
DataMessageValue.php:3
includes
libs
Message
ParamType.php
Generated on Mon Dec 2 2024 06:23:31 for MediaWiki by
1.10.0