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)

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 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)

Returns link to editor.

Parameters

$file
$line

Return Value

string|null

at line 56
static formatHtml($mask)

No description

Parameters

$mask

at line 65
static escapeHtml($s)

No description

Parameters

$s

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

No description

Parameters

array $trace
$method
$index

at line 91
static string getClass($obj)

No description

Parameters

$obj

Return Value

string

at line 98
static fixStack($exception)

internal  
 

No description

Parameters

$exception

at line 124
static fixEncoding($s)

internal  
 

No description

Parameters

$s

at line 131
static errorTypeToString($type)

internal  
 

No description

Parameters

$type

at line 155
static getSource()

internal  
 

No description

at line 169
static improveException($e)

internal  
 

No description

Parameters

$e

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

internal  
 

Finds the best suggestion.

Parameters

array $items
$value

Return Value

string|null

at line 229
static isHtmlMode()

internal  
 

No description

at line 238
static isAjax()

internal  
 

No description

at line 245
static getNonce()

internal  
 

No description