- Since
- 3.0
GNU GPL v2 or later
- Author
- mwjames
◆ encode()
static SRF\ResourceFormatter::encode |
( |
|
$id, |
|
|
|
$data |
|
) |
| |
|
static |
◆ getData()
static SRF\ResourceFormatter::getData |
( |
QueryResult |
$queryResult, |
|
|
|
$outputMode, |
|
|
|
$parameters = [] |
|
) |
| |
|
static |
- Parameters
-
QueryResult | $queryResult | |
| $outputMode | |
- Returns
- string
◆ placeholder()
static SRF\ResourceFormatter::placeholder |
( |
| ) |
|
|
static |
Convenience method generating a visual placeholder before any JS is registered to indicate that resources (JavaScript, CSS) are being loaded and once ready ensure to set ( '.smw-spinner' ).hide()
- Since
- 3.0
◆ registerResources()
static SRF\ResourceFormatter::registerResources |
( |
array |
$modules = [] , |
|
|
array |
$styleModules = [] |
|
) |
| |
|
static |
- Since
- 3.0
- Parameters
-
array | $modules | |
array | $styleModules | |
◆ session()
static SRF\ResourceFormatter::session |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: