|
MediaWiki master
|
Value object representing a message parameter that consists of a list of values. More...
Inherits Wikimedia\Message\MessageParam.

Public Member Functions | |
| __construct (string|ListType $listType, array $elements) | |
| __wakeup () | |
| dump () | |
| Dump the object for testing/debugging. | |
| getListType () | |
| Get the type of the list. | |
| isSameAs (MessageParam $mp) | |
| Equality testing. | |
| toJsonArray () | |
Public Member Functions inherited from Wikimedia\Message\MessageParam | |
| getType () | |
| Get the type of the parameter. | |
| getValue () | |
| Get the input value of the parameter. | |
Static Public Member Functions | |
| static | jsonClassHintFor (string $keyName) |
| static | newFromJsonArray (array $json) |
Static Public Member Functions inherited from Wikimedia\Message\MessageParam | |
| static | hint () |
| If you are serializing a MessageParam, use this JsonCodec hint to suppress unnecessary type information. | |
Additional Inherited Members | |
Protected Attributes inherited from Wikimedia\Message\MessageParam | |
| ParamType | $type |
| mixed | $value |
Value object representing a message parameter that consists of a list of values.
Message parameter classes are pure value objects and are newable and (de)serializable.
Definition at line 15 of file ListParam.php.
| Wikimedia\Message\ListParam::__construct | ( | string|ListType | $listType, |
| array | $elements ) |
| string | ListType | $listType | One of the ListType constants. |
| (MessageParam|MessageSpecifier|string|int|float)[] | $elements Values in the list. Values that are not instances of MessageParam are wrapped using ParamType::TEXT. |
Definition at line 29 of file ListParam.php.
References wfDeprecated().
| Wikimedia\Message\ListParam::__wakeup | ( | ) |
Reimplemented from Wikimedia\Message\MessageParam.
Definition at line 111 of file ListParam.php.
| Wikimedia\Message\ListParam::dump | ( | ) |
Dump the object for testing/debugging.
Reimplemented from Wikimedia\Message\MessageParam.
Definition at line 55 of file ListParam.php.
| Wikimedia\Message\ListParam::getListType | ( | ) |
Get the type of the list.
Definition at line 51 of file ListParam.php.
| Wikimedia\Message\ListParam::isSameAs | ( | MessageParam | $mp | ) |
Equality testing.
Reimplemented from Wikimedia\Message\MessageParam.
Definition at line 63 of file ListParam.php.
|
static |
Reimplemented from Wikimedia\Message\MessageParam.
Definition at line 90 of file ListParam.php.
Referenced by Wikimedia\Message\MessageParam\jsonClassHintFor().
|
static |
Reimplemented from Wikimedia\Message\MessageParam.
Definition at line 102 of file ListParam.php.
Referenced by Wikimedia\Message\MessageParam\newFromJsonArray().
| Wikimedia\Message\ListParam::toJsonArray | ( | ) |
Definition at line 73 of file ListParam.php.