Output Helpers - mithra62/ee_debug_toolbar GitHub Wiki
The Output Helpers are a collection of functions to help you in creating a consistent output with the main Toolbar and other EEDT extensions. You load the helpers just like any other ExpressionEngine helper:
ee()->load->helpers('eedt_output');
Below are the available functions
eedt_output_array($arr, $default = 'nothing_found', $pair_delim = ' => ', $tail_delim = '<br />')
- $arr - The array() you want to output
- $default - The language key to use as the default if the array is empty
-
$pair_delim - String to input between
$key
and$value
of the array - $tail_delim - String to output at the end of each array item
- return - String
Converts $arr
into a string for display in panels.
eedt_theme_url()
- return - String
Abstracts the creation of the third_party theme URL
eedt_theme_path()
- return - String
Abstracts the creation of the third_party theme path on the server
eedt_third_party_path()
- return - String
Abstracts the creation of the third party add-ons path