public function SlideshowJedoSlideDBHelper($oPlugin) { parent::SlideshowJedoGallery(); $this->oPlugin = $oPlugin; $this->tableName = SlideshowJedoGallery::table_slide(); $this->select_query = "SELECT `id`, `title`, `description`, `order`, \n\t\t\t\t\t\t\t\t`options`,\n\t\t\t\t\t\t\t\t`created`, `modified`\n\t\t FROM `" . $this->tableName . "` slide"; }
public function SlideshowJedoGalleryDBHelper($oPlugin) { parent::SlideshowJedoGallery(); $this->oPlugin = $oPlugin; $this->tableName = SlideshowJedoGallery::table_gallery(); $this->select_query = "SELECT `id`, `title`, `layout_width`, `order`, `options`,\n\t\t\t\t\t\t\t\t\t `created`, `modified`, \n\t\t (SELECT COUNT(*) \n\t\t FROM `" . SlideshowJedoGallery::table_galleryslide() . "` slide\n\t\t WHERE slide.gallery_id = gallery.id) AS slide_count \n FROM `" . $this->tableName . "` gallery"; }
public function SlideshowJedoGallerySlideDBHelper($oPlugin) { //echo "SlideshowJedoGallerySlideDBHelper >> "; parent::SlideshowJedoGallery(); $this->oPlugin = $oPlugin; $this->tableName = SlideshowJedoGallery::table_galleryslide(); }
public function SlideshowJedoGalleryAjax($oPlugin) { parent::SlideshowJedoGallery(); $this->oPlugin = $oPlugin; add_action('wp_enqueue_scripts', array($this, 'slideshow_jedo_gallery_ajax_scripts')); add_action('wp_ajax_get_gallery_slides', array($this, 'ajax_get_gallery_slides')); add_action('wp_ajax_nopriv_get_gallery_slides', array($this, 'ajax_get_gallery_slides')); }
public function SlideshowJedoGalleryPlugin($plugin_dir) { parent::SlideshowJedoGallery(); $this->plugin_dir = $plugin_dir; $url = explode("&", $_SERVER['REQUEST_URI']); $this->url = $url[0]; $this->referer = empty($_SERVER['HTTP_REFERER']) ? $this->url : $_SERVER['HTTP_REFERER']; $this->textDomain = basename($this->plugin_dir); $this->oGallerySetting = new SlideshowJedoGallerySetting($this); $this->oGalleryDBHelper = new SlideshowJedoGalleryDBHelper($this); $this->oSlideDBHelper = new SlideshowJedoSlideDBHelper($this); $this->oGallerySlideDBHelper = new SlideshowJedoGallerySlideDBHelper($this); wp_register_style('slideshow_jedo_gallery_plugin_style', plugin_dir_url(__FILE__) . '../css/jedo.SlideshowJedoGallery.css'); wp_register_script('slideshow_jedo_gallery_plugin_script', plugin_dir_url(__FILE__) . '../js/jedo.SlideshowJedoGallery.js', array('jquery')); $this->oAjax = new SlideshowJedoGalleryAjax($this); add_action('admin_menu', array($this, 'slideshow_jedo_gallery_create_menu')); add_action('admin_print_styles', array($this, 'slideshow_jedo_gallery_admin_styles')); add_action('admin_print_scripts', array($this, 'slideshow_jedo_gallery_admin_scripts')); add_shortcode("slideshowjedogallery", array($this, 'shortcode_slideshowjedogallery')); }
public function SlideshowJedoGalleryInstaller() { parent::SlideshowJedoGallery(); }
public function SlideshowJedoGallerySetting($oPlugin) { parent::SlideshowJedoGallery(); $this->oPlugin = $oPlugin; }