本文整理汇总了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;
/**