A parameter object wrapper, essentially an array of key/value pairs with a few extra methods.
More...
|
| __construct (array $args) |
|
| dict () |
| FIXME: Used in Parsoid native parser functions implementation and may not be needed in the final version.
|
|
| named () |
| Converts the args that are an array of ($k, $v) KV objects to an assocative array mapping $k to $v while handling named and locational orgs and trimming whitespace around the keys.
|
|
| getSlice (int $start, int $end) |
| FIXME: Used in Parsoid native parser functions implementation and may not be needed in the final version.
|
|
|
| $args |
|
| $argDict |
|
| $namedArgsDict |
|
A parameter object wrapper, essentially an array of key/value pairs with a few extra methods.
◆ __construct()
Wikimedia\Parsoid\Wt2Html\Params::__construct |
( |
array | $args | ) |
|
◆ dict()
Wikimedia\Parsoid\Wt2Html\Params::dict |
( |
| ) |
|
FIXME: Used in Parsoid native parser functions implementation and may not be needed in the final version.
Converts the args that are an array of ($k, $v) KV objects to an assocative array mapping $k to $v.
- Returns
- array
◆ getSlice()
Wikimedia\Parsoid\Wt2Html\Params::getSlice |
( |
int | $start, |
|
|
int | $end ) |
FIXME: Used in Parsoid native parser functions implementation and may not be needed in the final version.
- Parameters
-
- Returns
- array
◆ named()
Wikimedia\Parsoid\Wt2Html\Params::named |
( |
| ) |
|
Converts the args that are an array of ($k, $v) KV objects to an assocative array mapping $k to $v while handling named and locational orgs and trimming whitespace around the keys.
- Returns
- array
The documentation for this class was generated from the following file: