Property | Type | Description | |
---|---|---|---|
$groupSkipEmpty | boolean | Skip empty groups | |
$groupType | integer | Group type | |
$groups | array | Groups | |
$sortDirection | integer | Sort direction | |
$sortType | integer | Sort type |
Method | Description | |
---|---|---|
setGroupSkipEmpty ( boolean $groupSkipEmpty ) : |
Sets GroupSkipEmpty. | |
setGroupType ( integer $groupType ) : |
Sets GroupType. | |
setGroups ( array $groups ) : |
Sets Groups. | |
setSortDirection ( mixed $sortDirection ) : |
Sets SortDirection. | |
setSortType ( mixed $sortType ) : |
Sets SortType. | |
sort ( string $data ) : false | string | Sort any piece of code given as parameter. |
Method | Description | |
---|---|---|
createGroups ( array $namespaces ) : array | Create blocks. | |
renderGroup ( array $group ) : string | Render a group. | |
sortGroup ( array $group ) : array | Sort a group. |
public setGroupSkipEmpty ( boolean $groupSkipEmpty ) : |
||
$groupSkipEmpty | boolean | |
return | Self object |
public setGroupType ( integer $groupType ) : |
||
$groupType | integer | GroupType |
return | Self object |
public setSortDirection ( mixed $sortDirection ) : |
||
$sortDirection | mixed | SortDirection |
return | Self object |
public setSortType ( mixed $sortType ) : |
||
$sortType | mixed | SortType |
return | Self object |