Esempio n. 1
0
/**
 * Joomla! component SimpleLists
 *
 * @author Yireo
 * @package SimpleLists
 * @copyright Copyright (C) 2012
 * @license GNU Public License
 * @link http://www.yireo.com/
 */
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die;
// Require the Yireo helper
require_once JPATH_COMPONENT . '/lib/helper.php';
// Initialize the ACLs
SimpleListsHelperAcl::init();
/*
 * Helper for ACL-permissions
 */
class SimpleListsHelperAcl
{
    /*
     * Initialize the helper-class
     *
     * @param mixed $string
     * @return string
     */
    public static function init()
    {
        // Joomla! 1.5 ACLs
        if (YireoHelper::isJoomla15()) {