|
const | JSON_FORMAT = 'json' |
|
GNU GPL v2+
- Since
- 2.0
- Author
- mwjames
-
Markus Krötzsch
◆ __construct()
SMW\Query\DebugFormatter::__construct |
( |
?string |
$type = '' , |
|
|
string |
$format = '' |
|
) |
| |
- Since
- 3.0
- Parameters
-
string | null | $type | |
string | $format | |
◆ buildHTML()
SMW\Query\DebugFormatter::buildHTML |
( |
array |
$entries, |
|
|
Query |
$query = null |
|
) |
| |
Generate textual debug output that shows an arbitrary list of informative fields. Used for formatting query debug output.
- Note
- All strings given must be usable and safe in wiki and HTML contexts.
- Parameters
-
$entries | array of name => value of informative entries to display |
$query | SMWQuery or null, if given add basic data about this query as well |
- Returns
- string
◆ getFormat()
SMW\Query\DebugFormatter::getFormat |
( |
| ) |
|
◆ prettifyExplain()
SMW\Query\DebugFormatter::prettifyExplain |
( |
iterable |
$res | ) |
|
- Since
- 2.5
- Parameters
-
- Returns
- string
◆ prettifySPARQL()
SMW\Query\DebugFormatter::prettifySPARQL |
( |
|
$sparql | ) |
|
- Since
- 2.5
- Parameters
-
- Returns
- string
◆ prettifySQL()
SMW\Query\DebugFormatter::prettifySQL |
( |
|
$sql, |
|
|
|
$alias |
|
) |
| |
- Since
- 2.5
- Parameters
-
- Returns
- string
◆ setName()
SMW\Query\DebugFormatter::setName |
( |
string |
$name | ) |
|
The documentation for this class was generated from the following file: