MediaWiki REL1_34
ParamType.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Message;
4
11class ParamType {
13 const TEXT = 'text';
14
16 const NUM = 'num';
17
22 const DURATION_LONG = 'duration';
23
28 const DURATION_SHORT = 'timeperiod';
29
39 const EXPIRY = 'expiry';
40
42 const SIZE = 'size';
43
45 const BITRATE = 'bitrate';
46
48 const LIST = 'list';
49
57 const RAW = 'raw';
58
64 const PLAINTEXT = 'plaintext';
65}
The constants used to specify parameter types.
Definition ParamType.php:11
const DURATION_SHORT
A number of seconds, to be formatted as natural language text in an abbreviated way.
Definition ParamType.php:28
const LIST
A list of values.
Definition ParamType.php:48
const EXPIRY
An expiry time.
Definition ParamType.php:39
const RAW
A text parameter which is substituted after formatter processing.
Definition ParamType.php:57
const TEXT
A simple text string or another MessageValue, not otherwise formatted.
Definition ParamType.php:13
const SIZE
A number of bytes.
Definition ParamType.php:42
const NUM
A number, to be formatted using local digits and separators.
Definition ParamType.php:16
const DURATION_LONG
A number of seconds, to be formatted as natural language text.
Definition ParamType.php:22
const PLAINTEXT
A text parameter which is substituted after formatter processing.
Definition ParamType.php:64
const BITRATE
A number of bits per second.
Definition ParamType.php:45