Your IP : 216.73.216.89


Current Path : /home/azimutno/www/demo/plugins/nextendslidergenerator/flexicontent/
Upload File :
Current File : /home/azimutno/www/demo/plugins/nextendslidergenerator/flexicontent/flexicontent.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 plgNextendSliderGeneratorFlexiContent extends NextendPluginBase {

    var $_group = 'flexicontent';

    function onNextendSliderGeneratorList(&$group, &$list) {
    
        if(NextendFilesystem::existsFolder(JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_flexicontent')){
            $group[$this->_group] = 'FLEXIcontent';
    
            if (!isset($list[$this->_group])) $list[$this->_group] = array();
            $list[$this->_group][$this->_group . '_items'] = array('Items', $this->getPath() . 'items' . DIRECTORY_SEPARATOR);
        }
    }

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

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