Backtrace
class Backtrace
Backtrace helper
Traits
Methods
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .
Gets the uninherited value for the given config option
Return debug_backtrace() results with functions filtered specific to the debugging system, and not the trace.
Filter a backtrace so that it doesn't show the calls to the debugging system, which is useless information.
Render or return a backtrace from the given scope.
Return the full function name. If showArgs is set to true, a string representation of the arguments will be shown
Render a backtrace array into an appropriate plain-text or HTML string.
Details
in Configurable at line 20
static Config_ForClass
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .
....).
in Configurable at line 32
mixed
stat(string $name)
deprecated
deprecated 5.0 Use ->config()->get() instead
Get inherited config value
in Configurable at line 44
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
in Configurable at line 57
$this
set_stat(string $name, mixed $value)
deprecated
deprecated 5.0 Use ->config()->set() instead
Update the config value for a given property
at line 59
static array
filtered_backtrace(null|array $ignoredFunctions = null)
Return debug_backtrace() results with functions filtered specific to the debugging system, and not the trace.
at line 72
static array
filter_backtrace(array $bt, null|array $ignoredFunctions = null)
Filter a backtrace so that it doesn't show the calls to the debugging system, which is useless information.
at line 141
static mixed
backtrace(mixed $returnVal = false, bool $ignoreAjax = false, array $ignoredFunctions = null)
Render or return a backtrace from the given scope.
at line 162
static string
full_func_name(Object $item, bool $showArgs = false, int $argCharLimit = 10000)
Return the full function name. If showArgs is set to true, a string representation of the arguments will be shown
at line 200
static string
get_rendered_backtrace(array $bt, boolean $plainText = false, array $ignoredFunctions = null)
Render a backtrace array into an appropriate plain-text or HTML string.