Ejemplo n.º 1
0
 function cis_make_slider($m)
 {
     $id_slider = (int) $m[2];
     //include helper class
     require_once JPATH_SITE . '/components/com_creativeimageslider/helpers/helper.php';
     $cis_class = new CreativeimagesliderHelper();
     $cis_class->slider_id = $id_slider;
     $cis_class->type = 'plugin';
     $cis_class->class_suffix = 'cis_plg';
     $cis_class->module_id = $this->plg_order;
     $this->plg_order++;
     return $cis_class->render_html();
 }
Ejemplo n.º 2
0
<?php

/**
 * Joomla! component creativeimageslider
 *
 * @version $Id: default.php 2012-04-05 14:30:25 svn $
 * @author Creative-Solutions.net
 * @package Creative Image Slider
 * @subpackage com_creativeimageslider
 * @license GNU/GPL
 *
 */
// no direct access
defined('_JEXEC') or die('Restircted access');
$id_15 = JRequest::getVar('slider', 0, '', 'int');
$cis_class = new CreativeimagesliderHelper();
$cis_class->slider_id = $id_15;
$cis_class->type = 'component';
$cis_class->class_suffix = '';
$cis_class->module_id = 0;
echo $cis_class->render_html();