Stores information about map tags on page in ParserOutput.
More...
|
| hasValidTags () |
|
| setValidTags () |
|
| hasBrokenTags () |
|
| setBrokenTags () |
|
| useMaplink () |
|
| getMaplinks () |
|
| useMapframe () |
|
| getMapframes () |
|
| addInteractiveGroups (array $groups) |
|
| getInteractiveGroups () |
|
| addRequestedGroups (array $groups) |
|
| getRequestedGroups () |
|
| getCounters () |
|
| setCounters (stdClass $counters) |
|
| addData ( $key, $data) |
|
| getData () |
|
|
static | getState (ParserOutput $output) |
| Retrieves an instance of self from ParserOutput, if present. More...
|
|
static | getOrCreate (ParserOutput $output) |
| Retrieves an instance of self from ParserOutput, initializing it anew if not present. More...
|
|
|
const | DATA_KEY = 'kartographer' |
|
const | VERSION = 1 |
|
Stores information about map tags on page in ParserOutput.
◆ getOrCreate()
static Kartographer\State::getOrCreate |
( |
ParserOutput |
$output | ) |
|
|
static |
Retrieves an instance of self from ParserOutput, initializing it anew if not present.
- Parameters
-
- Returns
- State
◆ getState()
static Kartographer\State::getState |
( |
ParserOutput |
$output | ) |
|
|
static |
Retrieves an instance of self from ParserOutput, if present.
- Parameters
-
- Returns
- self|null
The documentation for this class was generated from the following file: