本文整理匯總了PHP中N2Loader::importAll方法的典型用法代碼示例。如果您正苦於以下問題:PHP N2Loader::importAll方法的具體用法?PHP N2Loader::importAll怎麽用?PHP N2Loader::importAll使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類N2Loader
的用法示例。
在下文中一共展示了N2Loader::importAll方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: init
private static function init()
{
static $initialized = false;
if (!$initialized) {
N2Loader::importAll('libraries.mvc.application');
N2Loader::importAll('libraries.mvc');
N2Loader::importAll('libraries.mvc.controllers');
N2Loader::importAll('libraries.cache');
N2Loader::importAll('libraries.assets');
N2Loader::importAll('libraries.google');
N2Loader::importAll('libraries.assets.css');
N2Loader::importAll('libraries.assets.js');
N2Loader::importAll('libraries.assets.less');
N2Loader::importAll('libraries.assets.google');
N2Loader::importAll('libraries.uri');
N2Loader::import('libraries.acl.acl');
N2Loader::import('libraries.message.message');
N2Loader::import('libraries.image.helper');
$initialized = true;
self::$isReady = true;
N2Pluggable::doAction('nextendBaseReady');
}
}
示例2: defined
<?php
/**
* @author Roland Soos
* @copyright (C) 2015 Nextendweb.com
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die('Restricted access');
N2Loader::import('libraries.mobiledetect.Mobile_Detect');
N2Loader::import('libraries.parse.font');
N2Loader::import('libraries.slider.type', 'smartslider');
N2Loader::import('libraries.slider.css', 'smartslider');
N2Loader::importAll('libraries.slider.features', 'smartslider');
N2Loader::import('libraries.slider.javascript', 'smartslider');
N2Loader::importAll('libraries.slider.slide', 'smartslider');
N2Loader::import('libraries.settings.settings', 'smartslider');
N2Loader::import('libraries.slider.widget.widgets', 'smartslider');
abstract class N2SmartSliderAbstract
{
public $sliderId = 0;
public $elementId = '';
public $cacheId = '';
public $data;
public $params;
/**
* @var N2SmartSliderFeatures
*/
public $features;
public $disableResponsive = false;
protected $parameters = null;
/**