本文整理匯總了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');
}
}