web/wp-content/plugins/slideshow-jquery-image-gallery/classes/SlideshowPluginAjax.php
changeset 204 09a1c134465b
parent 203 f507feede89a
child 205 a4f7897e21a9
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
     1 <?php
       
     2 /**
       
     3  * Class SlideshowAjax is used to register ajax functions
       
     4  * before as soon as possible, so ajax functions don't get
       
     5  * exceedingly large.
       
     6  *
       
     7  * @author: Stefan Boonstra
       
     8  * @version: 19-05-12
       
     9  */
       
    10 class SlideshowPluginAjax {
       
    11 
       
    12 	static function init() {
       
    13 		add_action('wp_ajax_slideshow_slide_inserter_search_query', array('SlideshowPluginSlideInserter', 'printSearchResults'));
       
    14 		add_action('wp_ajax_slideshow_delete_slide', array('SlideshowPluginSlideInserter', 'deleteSlide'));
       
    15 	}
       
    16 }