本文整理汇总了PHP中KSSystem::loadModuleFiles方法的典型用法代码示例。如果您正苦于以下问题:PHP KSSystem::loadModuleFiles方法的具体用法?PHP KSSystem::loadModuleFiles怎么用?PHP KSSystem::loadModuleFiles使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类KSSystem
的用法示例。
在下文中一共展示了KSSystem::loadModuleFiles方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('users'))) || in_array($view, $params->get('views', array('users')))) {
KSSystem::loadModuleFiles('mod_ks_userfields');
require_once dirname(__FILE__) . DS . 'helper.php';
$userfields = ModKSUserFieldsHelper::getUserFields();
$layout = KSSystem::getModuleLayout('mod_ks_userfields');
require JModuleHelper::getLayoutPath('mod_ks_userfields', $layout);
}
示例2: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('catalog'))) || in_array($view, $params->get('views', array('catalog')))) {
KSSystem::loadModuleFiles('mod_km_payment_types');
require_once dirname(__FILE__) . DS . 'helper.php';
$payment_types = ModKMPaymentTypesHelper::getPaymentTypes();
require JModuleHelper::getLayoutPath('mod_km_payment_types', $params->get('layout', 'default'));
}
示例3: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('countries'))) || in_array($view, $params->get('views', array('countries')))) {
KSSystem::loadModuleFiles('mod_km_countries');
require_once dirname(__FILE__) . DS . 'helper.php';
$countries = ModKMCountriesHelper::getCountries();
require JModuleHelper::getLayoutPath('mod_km_countries', $params->get('layout', 'default'));
}
示例4: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
$views = $params->get('views', array('settings'));
$views_ksg = $params->get('views_ksg', array('settings'));
$views = array_merge($views, $views_ksg);
if (in_array('*', $views) || in_array($view, $views)) {
KSSystem::loadModuleFiles('mod_ks_settings_groups');
require_once dirname(__FILE__) . DS . 'helper.php';
$forms = ModKSSettingsGroupsHelper::getForms();
global $ext_prefix;
require JModuleHelper::getLayoutPath('mod_ks_settings_groups', $params->get('layout', 'default'));
}
示例5: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('seo'))) || in_array($view, $params->get('views', array('seo')))) {
KSSystem::loadModuleFiles('mod_ks_seo_types');
require_once dirname(__FILE__) . DS . 'helper.php';
$seo_types = ModKSSeoTypesHelper::getSeoTypes();
require JModuleHelper::getLayoutPath('mod_ks_seo_types', $params->get('layout', 'default'));
}
示例6: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('shippings'))) || in_array($view, $params->get('views', array('shippings')))) {
KSSystem::loadModuleFiles('mod_km_shipping_methods');
require_once dirname(__FILE__) . DS . 'helper.php';
$methods = ModKSMShippingMethodsHelper::getShippingMethods();
require JModuleHelper::getLayoutPath('mod_km_shipping_methods', $params->get('layout', 'default'));
}
示例7: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('currencies'))) || in_array($view, $params->get('views', array('currencies')))) {
KSSystem::loadModuleFiles('mod_km_currencies_rates');
require_once dirname(__FILE__) . DS . 'helper.php';
$currencies = ModKMCurenciesRatesHelper::getCurrencies();
$layout = KSSystem::getModuleLayout('mod_km_currencies_rates');
require JModuleHelper::getLayoutPath('mod_km_currencies_rates', $layout);
}
示例8: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('exportimport'))) || in_array($view, $params->get('views', array('exportimport')))) {
KSSystem::loadModuleFiles('mod_km_exportimport_types');
require_once dirname(__FILE__) . DS . 'helper.php';
$types = ModKMExportImportTypesHelper::getTypes();
$layout = KSSystem::getModuleLayout('mod_km_exportimport_types');
require JModuleHelper::getLayoutPath('mod_km_exportimport_types', $layout);
}
示例9: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('catalog'))) || in_array($view, $params->get('views', array('catalog')))) {
KSSystem::loadModuleFiles('mod_km_categories');
require_once dirname(__FILE__) . DS . 'helper.php';
$helper = new ModKMCategoriesHelper();
$categories = $helper->getCategories();
$path = $helper->getPath();
$layout = KSSystem::getModuleLayout('mod_km_categories');
require JModuleHelper::getLayoutPath('mod_km_categories', $layout);
}
示例10: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('users'))) || in_array($view, $params->get('views', array('users')))) {
KSSystem::loadModuleFiles('mod_ks_usergroups');
require_once dirname(__FILE__) . DS . 'helper.php';
$usergroups = ModKSUserGroupsHelper::getUserGroups();
$layout = KSSystem::getModuleLayout('mod_ks_usergroups');
require JModuleHelper::getLayoutPath('mod_ks_usergroups', $layout);
}
示例11: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('reports'))) || in_array($view, $params->get('views', array('reports')))) {
KSSystem::loadModuleFiles('mod_km_reports');
require_once dirname(__FILE__) . DS . 'helper.php';
$reports = ModKMReportsHelper::getReports();
require JModuleHelper::getLayoutPath('mod_km_reports', $params->get('layout', 'default'));
}
示例12: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('orders'))) || in_array($view, $params->get('views', array('orders')))) {
KSSystem::loadModuleFiles('mod_km_order_statuses');
require_once dirname(__FILE__) . DS . 'helper.php';
$statuses = ModKSMOrderstatusesHelper::getStatuses();
$layout = KSSystem::getModuleLayout('mod_km_order_statuses');
require JModuleHelper::getLayoutPath('mod_km_order_statuses', $layout);
}
示例13: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('comments'))) || in_array($view, $params->get('views', array('comments')))) {
KSSystem::loadModuleFiles('mod_km_commentrates');
require_once dirname(__FILE__) . DS . 'helper.php';
$rates = ModKMCommentRatesHelper::getRates();
$layout = KSSystem::getModuleLayout('mod_km_commentrates');
require JModuleHelper::getLayoutPath('mod_km_commentrates', $layout);
}
示例14: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('discounts'))) || in_array($view, $params->get('views', array('discounts')))) {
KSSystem::loadModuleFiles('mod_km_discount_types');
require_once dirname(__FILE__) . DS . 'helper.php';
$types = ModKMDiscountTypesHelper::getDiscountTypes();
$layout = KSSystem::getModuleLayout('mod_km_discount_types');
require JModuleHelper::getLayoutPath('mod_km_discount_types', $layout);
}
示例15: defined
<?php
/**
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$view = JRequest::getVar('view', 'panel');
if (in_array('*', $params->get('views', array('catalog'))) || in_array($view, $params->get('views', array('catalog')))) {
KSSystem::loadModuleFiles('mod_km_manufacturers');
require_once dirname(__FILE__) . DS . 'helper.php';
$manufacturers = ModKMManufacturersHelper::getManufacturers();
$layout = KSSystem::getModuleLayout('mod_km_manufacturers');
require JModuleHelper::getLayoutPath('mod_km_manufacturers', $layout);
}