widgetName = JText::translate('VBO_W_OCCFORECAST_TITLE'); $this->widgetDescr = JText::translate('VBO_W_OCCFORECAST_DESCR'); $this->widgetId = basename(__FILE__, '.php'); /** * Define widget and icon and style name. * * @since 1.15.0 (J) - 1.5.0 (WP) */ $this->widgetIcon = ''; $this->widgetStyleName = 'yellow'; } public function render(?VBOMultitaskData $data = null) { $vbo_auth_pricing = JFactory::getUser()->authorise('core.vbo.pricing', 'com_vikbooking'); $vbo_auth_bookings = JFactory::getUser()->authorise('core.vbo.bookings', 'com_vikbooking'); if (!$vbo_auth_pricing || !$vbo_auth_bookings) { // base permissions are not met return; } $layout_data = array( 'vbo_page' => 'dashboard', ); ?>

widgetIcon; ?>