class Helpers

Rendering helpers for Debugger.

Methods

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

Returns HTML link to editor.

static string
editorUri($file, $line = NULL)

Returns link to editor.

static 
formatHtml($mask)

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.

Details

Returns HTML link to editor.

Parameters

$file
$line

Return Value

string

at line 46
static string editorUri($file, $line = NULL)

Returns link to editor.

Parameters

$file
$line

Return Value

string

at line 54
static formatHtml($mask)

No description

Parameters

$mask

at line 63
static findTrace(array $trace, $method, $index = NULL)

No description

Parameters

array $trace
$method
$index

at line 81
static string getClass($obj)

No description

Parameters

$obj

Return Value

string

at line 88
static fixStack($exception)

internal  
 

No description

Parameters

$exception

at line 114
static fixEncoding($s)

internal  
 

No description

Parameters

$s

at line 125
static errorTypeToString($type)

internal  
 

No description

Parameters

$type

at line 149
static getSource()

internal  
 

No description

at line 162
static improveException($e)

internal  
 

No description

Parameters

$e

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

internal  
 

Finds the best suggestion.

Parameters

array $items
$value

Return Value

string|null