Your IP : 216.73.217.11


Current Path : /home/azimutno/www/demo/plugins/nextendslidergenerator/joomlacontent/
Upload File :
Current File : /home/azimutno/www/demo/plugins/nextendslidergenerator/joomlacontent/joomlacontent.php

<?php
/*
# author Roland Soos
# copyright Copyright (C) Nextendweb.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-3.0.txt GNU/GPL
*/
defined('_JEXEC') or die('Restricted access'); ?><?php

class plgNextendSliderGeneratorJoomlaContent extends NextendPluginBase {

    var $_group = 'joomlacontent';

    function onNextendSliderGeneratorList(&$group, &$list) {
        $group[$this->_group] = 'Joomla_content';

        if (!isset($list[$this->_group])) $list[$this->_group] = array();
        $list[$this->_group][$this->_group . '_joomlacontent'] = array('Contents by category', $this->getPath() . 'joomlacontent' . DIRECTORY_SEPARATOR);
        $list[$this->_group][$this->_group . '_joomlacategory'] = array('Subcategories by category', $this->getPath() . 'joomlacategory' . DIRECTORY_SEPARATOR);
    }

    function getPath() {
        return dirname(__FILE__) . DIRECTORY_SEPARATOR;
    }
}

NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorJoomlaContent');