Zepi/Web/UserInterface/src/Layout/LayoutAbstract.php
protected function updateErrorBox(Form $form, $errors)
    {
        foreach ($form->getChildrenByType('\\Zepi\\Web\\UserInterface\\Form\\ErrorBox', true) as $errorBox) {
            $errorBox->updateErrorBox($form, false, $errors);
        }
    }
protected function updateErrorBox(Form $form, $errors)
    {
        foreach ($form->getChildrenByType('\\Zepi\\Web\\UserInterface\\Form\\ErrorBox', true) as $errorBox) {
            $errorBox->updateErrorBox($form, false, $errors);
        }
    }
protected function updateErrorBox ( Form $ form , $ errors ) { foreach ( $ form -> getChildrenByType ( '\\Zepi\\Web\\UserInterface\\Form\\ErrorBox' , true ) as $ errorBox ) { $ errorBox -> updateErrorBox ( $ form , false , $ errors ) ; } }
Updates all error boxes inside the given form

@param \Zepi\Web\UserInterface\Form\Form $form
@param array $errors
Updates all error boxes inside the given form