Frontend\Modules\Faq\Actions\Detail::loadForm PHP Метод

loadForm() приватный Метод

Load the form
private loadForm ( )
    private function loadForm()
    {
        $this->frm = new FrontendForm('feedback');
        $this->frm->addHidden('question_id', $this->record['id']);
        $this->frm->addTextarea('message');
        $this->frm->addRadiobutton('useful', array(array('label' => FL::lbl('Yes'), 'value' => 'Y'), array('label' => FL::lbl('No'), 'value' => 'N')));
    }