1 | <?php |
||
15 | class ResourceFormatter { |
||
16 | |||
17 | /** |
||
18 | * @since 3.0 |
||
19 | * |
||
20 | * @param array $modules |
||
21 | * @param array $styleModules |
||
22 | */ |
||
23 | 3 | public static function registerResources( array $modules = [], array $styleModules = [] ) { |
|
33 | |||
34 | /** |
||
35 | * @since 3.0 |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | 3 | public static function session() { |
|
42 | |||
43 | /** |
||
44 | * Convenience method generating a visual placeholder before any |
||
45 | * JS is registered to indicate that resources (JavaScript, CSS) |
||
46 | * are being loaded and once ready ensure to set |
||
47 | * ( '.smw-spinner' ).hide() |
||
48 | * |
||
49 | * @since 3.0 |
||
50 | */ |
||
51 | 3 | public static function placeholder() { |
|
64 | |||
65 | /** |
||
66 | * |
||
67 | * @since 3.0 |
||
68 | * |
||
69 | * @param string $id |
||
70 | * @param array $data |
||
71 | */ |
||
72 | 2 | public static function encode( $id, $data ) { |
|
82 | |||
83 | /** |
||
84 | * @param QueryResult $queryResult |
||
85 | * @param $outputMode |
||
86 | * |
||
87 | * @return string |
||
88 | */ |
||
89 | 2 | public static function getData( QueryResult $queryResult, $outputMode, $parameters = [] ) { |
|
110 | |||
111 | } |
||
112 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.