public function __construct($mainFilepath, $view = true)
 {
     self::addMenuPage('Revolution Slider', "adminPages");
     if ($view) {
         parent::__construct($mainFilepath, $this, self::DEFAULT_VIEW);
     } else {
         parent::__construct($mainFilepath, $this, '');
     }
     GlobalsRevSlider::$table_sliders = self::$table_prefix . GlobalsRevSlider::TABLE_SLIDERS_NAME;
     GlobalsRevSlider::$table_slides = self::$table_prefix . GlobalsRevSlider::TABLE_SLIDES_NAME;
     GlobalsRevSlider::$table_static_slides = self::$table_prefix . GlobalsRevSlider::TABLE_STATIC_SLIDES_NAME;
     GlobalsRevSlider::$table_settings = self::$table_prefix . GlobalsRevSlider::TABLE_SETTINGS_NAME;
     GlobalsRevSlider::$table_css = self::$table_prefix . GlobalsRevSlider::TABLE_CSS_NAME;
     GlobalsRevSlider::$table_layer_anims = self::$table_prefix . GlobalsRevSlider::TABLE_LAYER_ANIMS_NAME;
     GlobalsRevSlider::$filepath_backup = self::$path_plugin . "backup/";
     GlobalsRevSlider::$filepath_captions = self::$path_plugin . "rs-plugin/css/captions.css";
     $captionscssurl = rev_site_admin_url() . "?route=module/revslideropencart/getcaptionscss&token=" . sds_get_oc_token();
     GlobalsRevSlider::$urlCaptionsCSS = $captionscssurl;
     GlobalsRevSlider::$urlStaticCaptionsCSS = self::$url_plugin . "rs-plugin/css/static-captions.css";
     GlobalsRevSlider::$filepath_dynamic_captions = self::$path_plugin . "rs-plugin/css/dynamic-captions.css";
     GlobalsRevSlider::$filepath_static_captions = self::$path_plugin . "rs-plugin/css/static-captions.css";
     GlobalsRevSlider::$filepath_captions_original = self::$path_plugin . "rs-plugin/css/captions-original.css";
     GlobalsRevSlider::$urlExportZip = self::$path_plugin . "export.zip";
     GlobalsRevSlider::$urlExportZipurl = self::$url_plugin . "export.zip";
     $this->init();
 }