本文整理汇总了PHP中eHelper::loop方法的典型用法代码示例。如果您正苦于以下问题:PHP eHelper::loop方法的具体用法?PHP eHelper::loop怎么用?PHP eHelper::loop使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类eHelper
的用法示例。
在下文中一共展示了eHelper::loop方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
/**
* Joomla! 1.5 component Every Booking
*
* @author Jonathon Byrd
* @package Joomla
* @subpackage everybooking
* @license Proprietary software, closed source, All rights reserved November 2009 Every Booking Inc.
* For more information please see http://www.everybooking.com
*
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
/**
* Authorization array
*
*
*/
$authorization = array('Super Administrator' => array(), 'Individual Donor' => array(), 'NonProfit' => array(), 'Registered' => array('authors.new', 'authors.new_two', 'listings.ajaxupload', 'listings.buy_now', 'listings.payment', 'listings.new', 'listings.new_two', 'listings.new_three', 'listings.request', 'listings.comment', 'listings.contact', 'listings.offer', 'listings.report', 'myaccount.default', 'myaccount.delete', 'myaccount.payment', 'myaccount.settings', 'myaccount.shipping'), 'Public' => array('authors.default', 'authors.details', 'myaccount.ipn', 'myaccount.cron', 'categories.default', 'listings.search_results', 'listings.default', 'listings.details', 'listings.details_donation', 'listings.details_financial', 'listings.details_need', 'listings.details_pdf', 'listings.recommend', 'listings.search'));
//loading libraries
require_once EBOOK_HELPERS . DS . 'authorization.php';
//process this array
eHelper::loop($authorization);