Esempio n. 1
0
 public function __construct()
 {
     $title = __('Opening Hours: Holidays', I18n::TEXTDOMAIN);
     $description = __('Lists up all Holidays in the selected Set.', I18n::TEXTDOMAIN);
     parent::__construct('widget_op_holidays', $title, $description, HolidaysShortcode::getInstance());
 }
 public function __construct()
 {
     $title = __('Opening Hours: Irregular Openings', I18n::TEXTDOMAIN);
     $description = __('Lists up all Irregular Openings in the selected Set.', I18n::TEXTDOMAIN);
     parent::__construct('widget_op_irregular_openings', $title, $description, IrregularOpeningsShortcode::getInstance());
 }
Esempio n. 3
0
 public function __construct()
 {
     $title = __('Opening Hours: Is Open Status', I18n::TEXTDOMAIN);
     $description = __('Shows a box saying whether a specific set is currently open or closed based on Periods.', I18n::TEXTDOMAIN);
     parent::__construct('widget_op_is_open', $title, $description, IsOpenShortcode::getInstance());
 }
Esempio n. 4
0
 public function __construct()
 {
     $title = __('Opening Hours: Overview', I18n::TEXTDOMAIN);
     $description = __('Displays a Table with your Opening Hours. Alternatively use the op-overview Shortcode.', I18n::TEXTDOMAIN);
     parent::__construct('widget_op_overview', $title, $description, OverviewShortcode::getInstance());
 }