/** * Fetch the form contents. * @param $request PKPRequest * @return string Form contents */ function fetch($request) { $templateMgr = TemplateManager::getManager($request); $templateMgr->assign('representationId', $this->_representationId); return parent::fetch($request); }
/** * @copydoc Form::fetch() */ function fetch($request, $template = null, $display = false) { $templateMgr = TemplateManager::getManager($request); $templateMgr->assign(array('queryId' => $this->_queryId, 'noteId' => $this->_noteId, 'actionArgs' => $this->_actionArgs)); return parent::fetch($request, $template, $display); }