Your IP : 216.73.217.11


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

    var $_group = 'phocagallery';

    function onNextendSliderGeneratorList(&$group, &$list) {
    
        if(NextendFilesystem::existsFolder(JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_phocagallery')){
            $group[$this->_group] = 'Phoca Gallery';
    
            if (!isset($list[$this->_group])) $list[$this->_group] = array();
            $list[$this->_group][$this->_group . '_phocagalleryimages'] = array('Images', $this->getPath() . 'phocagalleryimages' . DIRECTORY_SEPARATOR);
        }
    }

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

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