/** * SLIDER */ public function slider($images = array(), $thumbs = array(), $width) { $data = includeClass('slider', __DIR__ . '/data'); return $data->GetSlider($images, $thumbs, $width); }
/** * * Init the DataController so that we can access everything from there * starting to get the selected menu * */ public function GetData($type, $images = array(), $thumbs = array(), $width) { //send in the theme array to the DataController $html = includeClass('DataController', LIB); $html = $html->{$type}($images, $thumbs, $width); return $html; }