/** * @param $formData * @param string $entryPoint * @return bool */ function tryCreateSubmit($formData, $entryPoint = 'internal') { $volume = $this->userNova->createVolume('', $formData['volumeSize'], $formData['volumename'], $formData['volumedescription']); if ($volume) { $this->getOutput()->addWikiMsg('openstackmanager-createdvolume', $volume->getVolumeID()); } else { $this->getOutput()->addWikiMsg('openstackmanager-createevolumefailed'); } $out = '<br />'; $out .= Linker::link($this->getPageTitle(), $this->msg('openstackmanager-backvolumelist')->escaped()); $this->getOutput()->addHTML($out); return true; }