Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7456852
ListType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
ListType.php
View Options
<?php
namespace
Wikimedia\Message
;
/**
* The constants used to specify list types. The values of the constants are an
* unstable implementation detail.
*/
enum
ListType
:
string
{
/** A comma-separated list */
case
COMMA
=
'comma'
;
/** A semicolon-separated list */
case
SEMICOLON
=
'semicolon'
;
/** A pipe-separated list */
case
PIPE
=
'pipe'
;
/** A natural-language list separated by "and" */
case
AND
=
'text'
;
/**
* Return the ListTypes, as an array of string flag values.
* @return list<string>
*/
public
static
function
values
():
array
{
return
array_column
(
self
::
cases
(),
'value'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 00:41 (3 d, 5 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
14/1d/48936b185495c3207a114571f555
Default Alt Text
ListType.php (622 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment