|
static | newFromJsonArray (array $data) |
| Create an object from unserialized data-parsoid.pi.
|
|
|
string | $k |
| The parameter key.
|
|
string | $keyWt = null |
| The key source wikitext, if different from $k.
|
|
string | $valueWt = null |
| The parameter value source wikitext.
|
|
KVSourceRange | $srcOffsets = null |
|
bool | $named = false |
|
array | $spc = null |
|
string | $html = null |
|
◆ newFromJsonArray()
static Wikimedia\Parsoid\NodeData\ParamInfo::newFromJsonArray |
( |
array | $data | ) |
|
|
static |
Create an object from unserialized data-parsoid.pi.
- Parameters
-
- Returns
- self
◆ toJsonArray()
Wikimedia\Parsoid\NodeData\ParamInfo::toJsonArray |
( |
| ) |
|
Serialize for data-parsoid.pi.
The rest of the data is temporary, it is not needed across requests.
- Returns
- array
The documentation for this class was generated from the following file:
- src/NodeData/ParamInfo.php