Property | Type | Description | |
---|---|---|---|
$helpers | array | helpers property |
Property | Type | Description | |
---|---|---|---|
$sort | boolean | Whether or not the top level keys should be sorted. |
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 |
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 |
protected bool $sort | ||
return | boolean |