本文整理汇总了PHP中JSFactory::loadJsFiles方法的典型用法代码示例。如果您正苦于以下问题:PHP JSFactory::loadJsFiles方法的具体用法?PHP JSFactory::loadJsFiles怎么用?PHP JSFactory::loadJsFiles使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JSFactory
的用法示例。
在下文中一共展示了JSFactory::loadJsFiles方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
/**
* @version 4.1.0 14.08.2013
* @author MAXXmarketing GmbH
* @package Jshopping
* @copyright Copyright (C) 2010 webdesigner-profi.de. All rights reserved.
* @license GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
error_reporting(error_reporting() & ~E_NOTICE);
if (!file_exists(JPATH_SITE . '/components/com_jshopping/jshopping.php')) {
JError::raiseError(500, "Please install component \"joomshopping\"");
}
require_once JPATH_SITE . '/components/com_jshopping/lib/factory.php';
require_once JPATH_SITE . '/components/com_jshopping/lib/functions.php';
JSFactory::loadCssFiles();
JSFactory::loadJsFiles();
JSFactory::loadLanguageFile();
$adv_search = $params->get('advanced_search');
$category_id = intval($params->get('category_id'));
$search_type = $params->get('search_type', 'any');
if ($adv_search) {
$adv_search_link = SEFLink('index.php?option=com_jshopping&controller=search', 1);
}
$search = JRequest::getVar('search', '');
require JModuleHelper::getLayoutPath('mod_jshopping_search');