public function renderChildren(\blaze\web\application\BlazeContext $context, \blaze\web\component\UIComponent $component) { foreach ($component->getChildren() as $child) { $child->processRender($context); } }
private function recursiveCheckSelected(\blaze\web\component\UIComponent $component) { if ($component instanceof \blaze\web\component\UICommand) { return $component->getClicked(); } $found = false; foreach ($component->getChildren() as $child) { if ($found) { break; } if ($this->recursiveCheckSelected($child) === true) { $found = true; } } return $found; }