public function __construct($mainFilepath) { parent::__construct($mainFilepath, $this); //Set table names GlobalsBannerRotator::$table_sliders = self::$table_prefix . GlobalsBannerRotator::TABLE_SLIDERS_NAME; GlobalsBannerRotator::$table_slides = self::$table_prefix . GlobalsBannerRotator::TABLE_SLIDES_NAME; GlobalsBannerRotator::$table_settings = self::$table_prefix . GlobalsBannerRotator::TABLE_SETTINGS_NAME; }
public function __construct($mainFilepath) { parent::__construct($mainFilepath, $this, self::DEFAULT_VIEW); //Set table names GlobalsBannerRotator::$table_sliders = self::$table_prefix . GlobalsBannerRotator::TABLE_SLIDERS_NAME; GlobalsBannerRotator::$table_slides = self::$table_prefix . GlobalsBannerRotator::TABLE_SLIDES_NAME; GlobalsBannerRotator::$table_settings = self::$table_prefix . GlobalsBannerRotator::TABLE_SETTINGS_NAME; GlobalsBannerRotator::$filepath_captions = self::$path_plugin . "css/caption.css"; GlobalsBannerRotator::$filepath_captions_original = self::$path_plugin . "css/caption-original.css"; GlobalsBannerRotator::$urlCaptionsCSS = self::$url_plugin . "css/caption.css"; $this->init(); }