PHP Класс DebugKit\View\Helper\ToolbarHelper

Acts as a facade for other toolbars helpers as well.
Наследование: extends Cake\View\Helper
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$helpers array helpers property

Защищенные свойства (Protected)

Свойство Тип Описание
$sort boolean Whether or not the top level keys should be sorted.

Открытые методы

Метод Описание
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

Описание методов

makeNeatArray() публичный Метод

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.
Результат string

setSort() публичный Метод

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

Описание свойств

$helpers публичное свойство

helpers property
public array $helpers
Результат array

$sort защищенное свойство

Whether or not the top level keys should be sorted.
protected bool $sort
Результат boolean