protected function ViewsEFFieldsetTree::flattenTree in Views Exposed Form Fieldset 7.2
1 call to ViewsEFFieldsetTree::flattenTree()
- ViewsEFFieldsetTree::getFlattenedTree in includes/
tree.inc
File
- includes/
tree.inc, line 40
Class
Code
protected function flattenTree(array $tree) {
$index = array();
foreach ($tree as $item) {
$index[$item['id']] = $item;
$index += $this
->flattenTree($item['children']);
}
return $index;
}