LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Static Public Member Functions | |
static | use_var_dump (bool $bUseVarDump=true) |
static | display (mixed $something_to_display="", string $tag="pre", string|null $css_class=null, bool|null $useVarDump=null) |
static | display_dev (mixed $something_to_display="", string $tag="pre", string|null $css_class=null, bool|null $useVarDump=null) |
static | base64ToImage (string $base64_string, string $output_file) |
Static Public Attributes | |
static bool | $use_var_dump = false |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 20 of file lepton_tools.php.
|
static |
Method to convert a base64 string into an image file
string | $base64_string | Any valid base64 string |
string | $output_file | Any local path |
example given:
Definition at line 179 of file lepton_tools.php.
|
static |
Static method to return the result of a "print_r" call for a given object/address.
mixed | $something_to_display | Any (e.g. mostly an object instance, or e.g. an array) |
string | $tag | Optional a "tag" (-name). Default is "pre". |
string | null | $css_class | Optional a class name for the tag. |
bool | null | $useVarDump | Optional overwrite internal setting. Must be a boolean. |
example given:
will return:
Definition at line 65 of file lepton_tools.php.
|
static |
Static method to return the result of a "print_r" call for a given object/address like above but add additional called file and line to the output.
mixed | $something_to_display | Any (e.g. mostly an object instance, or e.g. an array) |
string | $tag | Optional a "tag" (-name). Default is "pre". |
string | null | $css_class | Optional a class name for the tag. |
bool | null | $useVarDump | Optional overwrite internal setting. Must be a boolean. |
example given:..
will return:
Definition at line 121 of file lepton_tools.php.
|
static |
Method to change the var_dump_mode
boolean | $bUseVarDump | True, to use "var_dump" instead of "print_r" for the "display"-method, false if not. Default is "true". |
Definition at line 36 of file lepton_tools.php.
|
static |
Definition at line 27 of file lepton_tools.php.