PHP Class DebugKit\View\Helper\ToolbarHelper

Acts as a facade for other toolbars helpers as well.
Inheritance: extends Cake\View\Helper
Datei anzeigen Open project: cakephp/debug_kit

Public Properties

Property Type Description
$helpers array helpers property

Protected Properties

Property Type Description
$sort boolean Whether or not the top level keys should be sorted.

Public Methods

Method Description
makeNeatArray ( mixed $values, integer $openDepth, integer $currentDepth, boolean $doubleEncode = false, SplObjectStorage $currentAncestors = null ) : string Recursively goes through an array and makes neat HTML out of it.
setSort ( boolean $sort ) set sorting of values

Method Details

makeNeatArray() public method

Recursively goes through an array and makes neat HTML out of it.
public makeNeatArray ( mixed $values, integer $openDepth, integer $currentDepth, boolean $doubleEncode = false, SplObjectStorage $currentAncestors = null ) : string
$values mixed Array to make pretty.
$openDepth integer Depth to add open class
$currentDepth integer current depth.
$doubleEncode boolean Whether or not to double encode.
$currentAncestors SplObjectStorage Object references found down the path.
return string

setSort() public method

set sorting of values
public setSort ( boolean $sort )
$sort boolean Whether or not sort values by key

Property Details

$helpers public_oe property

helpers property
public array $helpers
return array

$sort protected_oe property

Whether or not the top level keys should be sorted.
protected bool $sort
return boolean