private function loadForm() { // create form $this->frm = new BackendForm('upload'); // create and add elements $this->frm->addFile('file'); }