|
| $mMessageLog |
|
| $mLingoParser |
|
◆ __construct()
Lingo\Backend::__construct |
( |
MessageLog & |
$messages = null | ) |
|
Lingo constructor.
- Parameters
-
◆ getLingoParser()
Lingo\Backend::getLingoParser |
( |
| ) |
|
◆ getMessageLog()
Lingo\Backend::getMessageLog |
( |
| ) |
|
◆ next()
This function returns the next element. The element is an array of four strings: Term, Definition (as wikitext), Link (as URL or Article title), Source (unused).
If there is no next element the function returns null.
- Returns
- array | null
◆ setLingoParser()
Lingo\Backend::setLingoParser |
( |
LingoParser |
$mLingoParser | ) |
|
◆ useCache()
Lingo\Backend::useCache |
( |
| ) |
|
This function returns true if the backend is cache-enabled.
Actual caching is done by the parser, but to be cache-enabled the backend has to call Lingo::purgeCache when necessary.
- Returns
- bool
The documentation for this class was generated from the following file: