function views_trace

2 calls to views_trace()
vpr_trace in ./views.module
vsm_trace in ./views.module

File

./views.module, line 1896

Code

function views_trace() {
    $message = '';
    foreach (debug_backtrace() as $item) {
        $traces = array(
            'vsm_trace',
            'vpr_trace',
            'views_trace',
        );
        if (!empty($item['file']) && !in_array($item['function'], $traces)) {
            $message .= basename($item['file']) . ": " . (empty($item['class']) ? '' : $item['class'] . '->') . "{$item['function']} line {$item['line']}" . "\n";
        }
    }
    return $message;
}