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


PHP vmCommonHTML::loadMooTools方法代码示例

本文整理汇总了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();
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:5,代码来源:theme.php

示例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">
开发者ID:BackupTheBerlios,项目名称:kmit-svn,代码行数:31,代码来源:admin.function_form.php

示例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');
     }
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:18,代码来源:htmlTools.class.php


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