本文整理汇总了PHP中vmCommonHTML::loadMooTools方法的典型用法代码示例。如果您正苦于以下问题:PHP vmCommonHTML::loadMooTools方法的具体用法?PHP vmCommonHTML::loadMooTools怎么用?PHP vmCommonHTML::loadMooTools使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vmCommonHTML
的用法示例。
在下文中一共展示了vmCommonHTML::loadMooTools方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: vmTheme
function vmTheme()
{
parent::vmTemplate();
vmCommonHTML::loadMooTools();
}
示例2: mm_showMyFileName
*
* @version $Id: admin.function_form.php 1961 2009-10-12 20:18:00Z Aravot $
* @package VirtueMart
* @subpackage html
* @copyright Copyright (C) 2004-2008 soeren - All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
*
* http://virtuemart.net
*/
mm_showMyFileName(__FILE__);
vmCommonHTML::loadMooTools();
$function_id = vmGet($_REQUEST, 'function_id');
$module_id = vmGet($_REQUEST, 'module_id');
$option = empty($option) ? vmGet($_REQUEST, 'option', 'com_virtuemart') : $option;
if (!empty($function_id)) {
$q = "SELECT * from #__{vm}_function where function_id='{$function_id}'";
$db->query($q);
$db->next_record();
}
//First create the object and let it print a form heading
$formObj = new formFactory($VM_LANG->_('PHPSHOP_FUNCTION_FORM_LBL'));
//Then Start the form
$formObj->startForm();
?>
<table class="adminform">
示例3: loadSlimBox
/**
* Function to load the javascript and stylsheet files for Slimbox,
* a Lightbox derivate with mootools and prototype.lite
* @author http://www.digitalia.be/software/slimbox
*
* @param boolean $print
*/
function loadSlimBox()
{
global $mosConfig_live_site, $vm_mainframe;
if (!defined('_SLIMBOX_LOADED')) {
vmCommonHTML::loadMooTools();
$vm_mainframe->addScriptDeclaration('var slimboxurl = \'' . $mosConfig_live_site . '/components/' . VM_COMPONENT_NAME . '/js/slimbox/\';');
$vm_mainframe->addScript($mosConfig_live_site . '/components/' . VM_COMPONENT_NAME . '/js/slimbox/js/slimbox.js');
$vm_mainframe->addStyleSheet($mosConfig_live_site . '/components/' . VM_COMPONENT_NAME . '/js/slimbox/css/slimbox.css');
define('_SLIMBOX_LOADED', '1');
}
}