当前位置: 首页>>代码示例>>PHP>>正文


PHP KSSystem::getModuleLayout方法代码示例

本文整理汇总了PHP中KSSystem::getModuleLayout方法的典型用法代码示例。如果您正苦于以下问题:PHP KSSystem::getModuleLayout方法的具体用法?PHP KSSystem::getModuleLayout怎么用?PHP KSSystem::getModuleLayout使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在KSSystem的用法示例。


在下文中一共展示了KSSystem::getModuleLayout方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_ks_userfields.php

示例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_manufacturers');
    require_once dirname(__FILE__) . DS . 'helper.php';
    $manufacturers = ModKMManufacturersHelper::getManufacturers();
    $layout = KSSystem::getModuleLayout('mod_km_manufacturers');
    require JModuleHelper::getLayoutPath('mod_km_manufacturers', $layout);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_km_manufacturers.php

示例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('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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:17,代码来源:mod_km_categories.php

示例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');
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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_km_currencies_rates.php

示例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('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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_km_exportimport_types.php

示例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('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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_ks_usergroups.php

示例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('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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_km_order_statuses.php

示例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('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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_km_commentrates.php

示例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('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);
}
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:15,代码来源:mod_km_discount_types.php


注:本文中的KSSystem::getModuleLayout方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。