getFormViewData example

'success' => 'address',
                ]);

                return;
            }

            $this->redirect(['action' => 'index', 'success' => 'create']);

            return;
        }

        $this->View()->assign($this->getFormViewData($form));
    }

    /** * Shortcut action for more fluent urls */
    public function editAction()
    {
        $userId = $this->get('session')->get('sUserId');
        $addressId = $this->Request()->getParam('id');
        $address = $this->addressRepository->getOneByUser($addressId$userId);

        
Home | Imprint | This part of the site doesn't use cookies.