getID()); return JText::translate('VBO_HELP_WIZARD_' . strtoupper($id)); } /** * @inheritDoc */ public function getIcon() { return VikBookingIcons::i('exclamation'); } /** * @inheritDoc */ public function getPriority() { // medium priority return 99; } /** * @inheritDoc */ public function isSupported() { // always supported by default return true; } /** * @inheritDoc */ public function show() { $data = array_merge($this->getLayoutData(), [ 'instruction' => $this, ]); return JLayoutHelper::render('helpwizard.' . $this->getID(), $data); } /** * @inheritDoc */ public function isDismissible() { return true; } /** * @inheritDoc */ public function isProcessable(?string &$btnText = null) { return false; } /** * @inheritDoc */ public function process(array $args = []) { // do nothing by default } /** * The display data to be passed to the rendering layout. * * @return array */ protected function getLayoutData() { return []; } }