Zepi/Web/UserInterface/src/Layout/LayoutAbstract.php
protected function searchSubmittedForm(WebRequest $request, Response $response)
    {
        $this->verifyLayout();
        
        $form = null;
        foreach ($this->layout->getChildrenByType('\\Zepi\\Web\\UserInterface\\Form\\Form', true) as $availableForm) {
            $availableForm->processFormData($request, $response);
        
            if ($availableForm->isSubmitted()) {
                $form = $availableForm;
                break;
            }
        }
        
        return $form;
    }
protected function searchSubmittedForm(WebRequest $request, Response $response)
    {
        $this->verifyLayout();
        
        $form = null;
        foreach ($this->layout->getChildrenByType('\\Zepi\\Web\\UserInterface\\Form\\Form', true) as $availableForm) {
            $availableForm->processFormData($request, $response);
        
            if ($availableForm->isSubmitted()) {
                $form = $availableForm;
                break;
            }
        }
        
        return $form;
    }
protected function searchSubmittedForm ( WebRequest $ request , Response $ response ) { $ this -> verifyLayout ( ) ; $ form = null ; foreach ( $ this -> layout -> getChildrenByType ( '\\Zepi\\Web\\UserInterface\\Form\\Form' , true ) as $ availableForm ) { $ availableForm -> processFormData ( $ request , $ response ) ; if ( $ availableForm -> isSubmitted ( ) ) { $ form = $ availableForm ; break ; } } return $ form ; }
Searches the submitted form object in the layout.

@param \Zepi\Turbo\Request\WebRequest $request
@param \Zepi\Turbo\Response\Response $response
@return null|\Zepi\Web\UserInterface\Form\Form
Searches the submitted form object in the layout .