renderElementNote example

$view = $this->View();
        $view->assign('forceMail', (int) $this->Request()->getParam('forceMail'));
        $view->assign('id', $id);
        $view->assign('sSupport', $this->getContent($id));
        $view->assign('rand', Random::getAlphanumericString(32));

        $success = (bool) $this->Request()->getParam('success');
        if ($success) {
            $view->assign('sSupport', array_merge($view->getAssign('sSupport')['sElements' => []]));
        }

        $this->renderElementNote($view);

        $view->assign('success', $success);

        if ($this->Request()->isPost()) {
            $this->handleFormPost($id);
        }
    }

    /** * @throws Enlight_Exception * @throws Zend_Mail_Exception * @throws Enlight_Event_Exception * * @deprecated in 5.6, will be protected in 5.8 * * Commit form via email (default) or database (ticket system) * Method is extended in SwagTicketSystem * * @return void */
Home | Imprint | This part of the site doesn't use cookies.