protected function ViewsEFFieldsetTree::setDepth in Views Exposed Form Fieldset 7.2
1 call to ViewsEFFieldsetTree::setDepth()
- ViewsEFFieldsetTree::__construct in includes/
tree.inc
File
- includes/
tree.inc, line 102
Class
Code
protected function setDepth(&$tree, $depth = 0) {
foreach ($tree as &$item) {
$item['depth'] = $depth;
$this
->setDepth($item['children'], $depth + 1);
}
}