public function addForm(QuickForm2 $form)
    {

        // assign array with form data
        $this->assign('form_data', $form->getFormData());
        $this->assign('element_list', $form->getElementList());
    }
public function addForm(QuickForm2 $form)
    {

        // assign array with form data
        $this->assign('form_data', $form->getFormData());
        $this->assign('element_list', $form->getElementList());
    }
public function addForm ( QuickForm2 $ form ) { // assign array with form data $ this -> assign ( 'form_data' , $ form -> getFormData ( ) ) ; $ this -> assign ( 'element_list' , $ form -> getElementList ( ) ) ; }
Add form to view

@param QuickForm2 $form
@ignore
Add form to view