Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getClonerOptions () | |
mergeClonerOptions ($options) | |
resetClonerOptions ($options=null) | |
getDumperOptions () | |
mergeDumperOptions ($options) | |
resetDumperOptions ($options=null) | |
captureVar ($data) | |
renderCapturedVar ($capturedData, $seekPath=array()) | |
renderVar ($data) | |
getAssets () | |
Fonctions membres protégées | |
getCloner () | |
getDumper () | |
getDisplayOptions () | |
dump (Data $data) | |
Attributs protégés | |
$clonerOptions | |
$dumperOptions | |
$cloner | |
$dumper | |
Attributs protégés statiques | |
static | $defaultClonerOptions = array() |
static | $defaultDumperOptions |
Clones and renders variables in HTML format using the Symfony VarDumper component.
Cloning is decoupled from rendering, so that dumper users can have the fastest possible cloning performance, while delaying rendering until it is actually needed.
captureVar | ( | $data | ) |
Captures the data from a variable and serializes it for later rendering.
mixed | $data | The variable to capture. |
Références $data, et DebugBarVarDumper\getCloner().
|
protected |
Helper function to dump a Data object to HTML.
Data | $data |
Références DebugBarVarDumper\$dumper, $output, $result, DebugBarVarDumper\getDisplayOptions(), DebugBarVarDumper\getDumper(), et null.
Référencé par DebugBarVarDumper\renderCapturedVar(), et DebugBarVarDumper\renderVar().
getAssets | ( | ) |
Returns assets required for rendering variables.
Implémente AssetProvider.
Références DebugBarVarDumper\$dumper, et DebugBarVarDumper\getDumper().
|
protected |
Gets the VarCloner instance with configuration options set.
Références DebugBarVarDumper\$cloner, DebugBarVarDumper\$clonerOptions, et DebugBarVarDumper\getClonerOptions().
Référencé par DebugBarVarDumper\captureVar(), et DebugBarVarDumper\renderVar().
getClonerOptions | ( | ) |
Gets the array of non-default VarCloner configuration options.
Références DebugBarVarDumper\$clonerOptions, et null.
Référencé par DebugBarVarDumper\getCloner(), et DebugBarVarDumper\mergeClonerOptions().
|
protected |
Gets the display options for the HTML dumper.
Références DebugBarVarDumper\$dumperOptions, et DebugBarVarDumper\getDumperOptions().
Référencé par DebugBarVarDumper\dump().
|
protected |
Gets the DebugBarHtmlDumper instance with configuration options set.
Références DebugBarVarDumper\$dumper, DebugBarVarDumper\$dumperOptions, et DebugBarVarDumper\getDumperOptions().
Référencé par DebugBarVarDumper\dump(), et DebugBarVarDumper\getAssets().
getDumperOptions | ( | ) |
Gets the array of non-default HtmlDumper configuration options.
Références DebugBarVarDumper\$dumperOptions, et null.
Référencé par DebugBarVarDumper\getDisplayOptions(), DebugBarVarDumper\getDumper(), et DebugBarVarDumper\mergeDumperOptions().
mergeClonerOptions | ( | $options | ) |
Merges an array of non-default VarCloner configuration options with the existing non-default options.
Configuration options are:
array | $options |
Références $options, DebugBarVarDumper\getClonerOptions(), et null.
mergeDumperOptions | ( | $options | ) |
Merges an array of non-default HtmlDumper configuration options with the existing non-default options.
Configuration options are:
array | $options |
Références $options, DebugBarVarDumper\getDumperOptions(), et null.
renderCapturedVar | ( | $capturedData, | |
$seekPath = array() |
|||
) |
Renders previously-captured data from captureVar to HTML and returns it as a string.
string | $capturedData | Captured data from captureVar. |
array | $seekPath | Pass an array of keys to traverse if you only want to render a subset of the data. |
Références $data, $key, et DebugBarVarDumper\dump().
renderVar | ( | $data | ) |
Captures and renders the data from a variable to HTML and returns it as a string.
mixed | $data | The variable to capture and render. |
Références $data, DebugBarVarDumper\dump(), et DebugBarVarDumper\getCloner().
resetClonerOptions | ( | $options = null | ) |
Resets the array of non-default VarCloner configuration options without retaining any of the existing non-default options.
Configuration options are:
array | $options |
resetDumperOptions | ( | $options = null | ) |
Resets the array of non-default HtmlDumper configuration options without retaining any of the existing non-default options.
Configuration options are:
array | $options |
|
protected |
Référencé par DebugBarVarDumper\getCloner().
|
protected |
Référencé par DebugBarVarDumper\getCloner(), et DebugBarVarDumper\getClonerOptions().
|
staticprotected |
|
staticprotected |
|
protected |
Référencé par DebugBarVarDumper\dump(), DebugBarVarDumper\getAssets(), et DebugBarVarDumper\getDumper().
|
protected |