-
Returns the web debug toolbar as HTML.
returns The web debug toolbar HTML
-
Configures the web debug toolbar.
-
Gets the event dispatcher.
returns The event dispatcher
-
Gets the javascript code to inject in the head tag.
-
Gets the logger.
returns The logger instance
-
(mixed) getOption ($name, $default = null)
Browse code
| $name |
The option name
|
| $default |
|
Gets an option value by name.
returns The option value
-
Gets the registered panels.
returns The panels
-
(string) getPriority ($value)
Browse code
| $value |
The priority value
|
Converts a priority value to a string.
returns The priority as a string
-
Gets the stylesheet code to inject in the head tag.
-
(string) injectToolbar ($content)
Browse code
| $content |
The HTML content
|
Injects the web debug toolbar into a given HTML string.
returns The content with the web debug toolbar injected
-
Removes a panel by name.
-
setPanel ($name, $panel)
Browse code
| $name |
The panel name
|
| $panel |
The panel
|
Sets a panel by name.
-
__construct ($dispatcher, $logger, $options = array())
Browse code
| $dispatcher |
The event dispatcher
|
| $logger |
The logger
|
| $options |
An array of options
|
Constructor.
Available options:
* image_root_path: The image root path