◆ __construct()
SMW\Scribunto\LuaAskResultProcessor::__construct |
( |
QueryResult |
$queryResult | ) |
|
◆ extractLuaDataFromDVData()
SMW\Scribunto\LuaAskResultProcessor::extractLuaDataFromDVData |
( |
|
$resultArrayData | ) |
|
Takes an array of data fields and returns either null, a single value or a lua table.
- Parameters
-
- Returns
- mixed
◆ getKeyFromPrintRequest()
SMW\Scribunto\LuaAskResultProcessor::getKeyFromPrintRequest |
( |
PrintRequest |
$printRequest | ) |
|
Takes an smw query print request and tries to retrieve the label falls back to {
- See also
- getNumericIndex} if none was found
- Parameters
-
PrintRequest | $printRequest | getNumericIndex |
- Returns
- int|string
◆ getNumericIndex()
SMW\Scribunto\LuaAskResultProcessor::getNumericIndex |
( |
| ) |
|
Returns current numeric index (and increases it afterwards)
$numericIndex
- Returns
- int
◆ getProcessedResult()
SMW\Scribunto\LuaAskResultProcessor::getProcessedResult |
( |
| ) |
|
Extracts the data in {
- See also
- $queryResult} and returns it as a table usable in lua context
getDataFromQueryResultRow
- Returns
- array|null
The documentation for this class was generated from the following file:
- LuaAskResultProcessor.php