[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 315 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
DebugBarVarDumper:: (14 methods):
getCloner()
getDumper()
getClonerOptions()
mergeClonerOptions()
resetClonerOptions()
getDumperOptions()
mergeDumperOptions()
resetDumperOptions()
captureVar()
getDisplayOptions()
renderCapturedVar()
renderVar()
getAssets()
dump()
Class: DebugBarVarDumper - X-Ref
Clones and renders variables in HTML format using the Symfony VarDumper component.getCloner() X-Ref |
Gets the VarCloner instance with configuration options set. return: VarCloner |
getDumper() X-Ref |
Gets the DebugBarHtmlDumper instance with configuration options set. return: DebugBarHtmlDumper |
getClonerOptions() X-Ref |
Gets the array of non-default VarCloner configuration options. return: array |
mergeClonerOptions($options) X-Ref |
Merges an array of non-default VarCloner configuration options with the existing non-default options. Configuration options are: - casters: a map of VarDumper Caster objects to use instead of the default casters. - additional_casters: a map of VarDumper Caster objects to use in addition to the default casters. - max_items: maximum number of items to clone beyond the minimum depth. - max_string: maximum string size - min_depth: minimum tree depth to clone before counting items against the max_items limit. (Requires Symfony 3.4; ignored on older versions.) param: array $options |
resetClonerOptions($options = null) X-Ref |
Resets the array of non-default VarCloner configuration options without retaining any of the existing non-default options. Configuration options are: - casters: a map of VarDumper Caster objects to use instead of the default casters. - additional_casters: a map of VarDumper Caster objects to use in addition to the default casters. - max_items: maximum number of items to clone beyond the minimum depth. - max_string: maximum string size - min_depth: minimum tree depth to clone before counting items against the max_items limit. (Requires Symfony 3.4; ignored on older versions.) param: array $options |
getDumperOptions() X-Ref |
Gets the array of non-default HtmlDumper configuration options. return: array |
mergeDumperOptions($options) X-Ref |
Merges an array of non-default HtmlDumper configuration options with the existing non-default options. Configuration options are: - styles: a map of CSS styles to include in the assets, as documented in HtmlDumper::setStyles. - expanded_depth: the tree depth to initially expand. (Requires Symfony 3.2; ignored on older versions.) - max_string: maximum string size. (Requires Symfony 3.2; ignored on older versions.) - file_link_format: link format for files; %f expanded to file and %l expanded to line (Requires Symfony 3.2; ignored on older versions.) param: array $options |
resetDumperOptions($options = null) X-Ref |
Resets the array of non-default HtmlDumper configuration options without retaining any of the existing non-default options. Configuration options are: - styles: a map of CSS styles to include in the assets, as documented in HtmlDumper::setStyles. - expanded_depth: the tree depth to initially expand. (Requires Symfony 3.2; ignored on older versions.) - max_string: maximum string size. (Requires Symfony 3.2; ignored on older versions.) - file_link_format: link format for files; %f expanded to file and %l expanded to line (Requires Symfony 3.2; ignored on older versions.) param: array $options |
captureVar($data) X-Ref |
Captures the data from a variable and serializes it for later rendering. param: mixed $data The variable to capture. return: string Serialized variable data. |
getDisplayOptions() X-Ref |
Gets the display options for the HTML dumper. return: array |
renderCapturedVar($capturedData, $seekPath = array() X-Ref |
Renders previously-captured data from captureVar to HTML and returns it as a string. param: string $capturedData Captured data from captureVar. param: array $seekPath Pass an array of keys to traverse if you only want to render a subset return: string HTML rendering of the variable. |
renderVar($data) X-Ref |
Captures and renders the data from a variable to HTML and returns it as a string. param: mixed $data The variable to capture and render. return: string HTML rendering of the variable. |
getAssets() X-Ref |
Returns assets required for rendering variables. return: array |
dump(Data $data) X-Ref |
Helper function to dump a Data object to HTML. param: Data $data return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |