MediaWiki master
Wikimedia\Message\ListType Class Reference

The constants used to specify list types. More...

Static Public Member Functions

static cases ()
 

Public Attributes

const AND = 'text'
 A natural-language list separated by "and".
 
const COMMA = 'comma'
 A comma-separated list.
 
const PIPE = 'pipe'
 A pipe-separated list.
 
const SEMICOLON = 'semicolon'
 A semicolon-separated list.
 

Detailed Description

The constants used to specify list types.

The values of the constants are an unstable implementation detail.

Definition at line 9 of file ListType.php.

Member Function Documentation

◆ cases()

static Wikimedia\Message\ListType::cases ( )
static

Definition at line 22 of file ListType.php.

Referenced by Wikimedia\Message\ListParam\__construct().

Member Data Documentation

◆ AND

const Wikimedia\Message\ListType::AND = 'text'

A natural-language list separated by "and".

Definition at line 20 of file ListType.php.

Referenced by Wikimedia\Message\MessageValue\textListParams().

◆ COMMA

const Wikimedia\Message\ListType::COMMA = 'comma'

◆ PIPE

const Wikimedia\Message\ListType::PIPE = 'pipe'

A pipe-separated list.

Definition at line 17 of file ListType.php.

Referenced by Wikimedia\Message\MessageValue\pipeListParams().

◆ SEMICOLON

const Wikimedia\Message\ListType::SEMICOLON = 'semicolon'

A semicolon-separated list.

Definition at line 14 of file ListType.php.

Referenced by Wikimedia\Message\MessageValue\semicolonListParams().


The documentation for this class was generated from the following file: