Usage:
Instantiate Slider Index\Controller
and echo the loadSlider
method:
<?php
$slider = new \Fennec\Modules\Slider\Index();
echo $slider->loadSlider();
Simply load the /slider/
view:
jQuery example:
$.get('http://YOUR_SERVER/slider/', function(content) {
$('#YOUR_SLIDER_CONTAINER').html(content);
});