class Helpers

Rendering helpers for Debugger.

Methods

static string
editorLink($file, $line = null)

Returns HTML link to editor.

static string|null
editorUri($file, $line = null, $action = 'open', $search = null, $replace = null)

Returns link to editor.

static 
formatHtml($mask)

No description

static 
escapeHtml($s)

No description

static 
findTrace(array $trace, $method, $index = null)

No description

static string
getClass($obj)

No description

static 
fixStack($exception)

No description

static 
fixEncoding($s)

No description

static 
errorTypeToString($type)

No description

static 
getSource()

No description

static 
improveException($e)

No description

static 
improveError($message, array $context = [])

No description

static 
guessClassFile($class)

No description

static string|null
getSuggestion(array $items, $value)

Finds the best suggestion.

static 
isHtmlMode()

No description

static 
isAjax()

No description

static 
getNonce()

No description

Details

Returns HTML link to editor.

Parameters

$file
$line

Return Value

string

at line 47
static string|null editorUri($file, $line = null, $action = 'open', $search = null, $replace = null)

Returns link to editor.

Parameters

$file
$line
$action
$search
$replace

Return Value

string|null

at line 63
static formatHtml($mask)

No description

Parameters

$mask

at line 72
static escapeHtml($s)

No description

Parameters

$s

at line 78
static findTrace(array $trace, $method, $index = null)

No description

Parameters

array $trace
$method
$index

at line 98
static string getClass($obj)

No description

Parameters

$obj

Return Value

string

at line 105
static fixStack($exception)

internal  
 

No description

Parameters

$exception

at line 131
static fixEncoding($s)

internal  
 

No description

Parameters

$s

at line 138
static errorTypeToString($type)

internal  
 

No description

Parameters

$type

at line 162
static getSource()

internal  
 

No description

at line 176
static improveException($e)

internal  
 

No description

Parameters

$e

at line 225
static improveError($message, array $context = [])

internal  
 

No description

Parameters

$message
array $context

at line 242
static guessClassFile($class)

internal  
 

No description

Parameters

$class

at line 269
static string|null getSuggestion(array $items, $value)

internal  
 

Finds the best suggestion.

Parameters

array $items
$value

Return Value

string|null

at line 285
static isHtmlMode()

internal  
 

No description

at line 294
static isAjax()

internal  
 

No description

at line 301
static getNonce()

internal  
 

No description