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


PHP Globals::getParam方法代码示例

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


在下文中一共展示了Globals::getParam方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 * GNU General Public License for more details.
 *
 * @category  PayIntelligent
 * @package   ratepay
 * @copyright (C) 2012 PayIntelligent GmbH  <http://www.payintelligent.de/>
 * @license   GPLv2
 */
/**
 * RatePAY log overview, displays all log entrys
 */
require_once 'includes/application_top.php';
require_once '../includes/languages/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php';
require_once '../includes/classes/ratepay/helpers/Data.php';
require_once '../includes/classes/ratepay/helpers/Db.php';
require_once '../includes/classes/ratepay/helpers/Globals.php';
$logs = Globals::hasParam('orderby') ? Db::getLogEntrys(Globals::getParam('orderby')) : Db::getLogEntrys();
$logical = Data::getLoggingLogical();
require DIR_WS_INCLUDES . 'template_top.php';
?>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
    <tr>
        <td width="100%" valign="top">
            <table border="0" width="100%" cellspacing="0" cellpadding="2">
                <tr>
                    <td>
                        <table border="0" width="100%" cellspacing="0" cellpadding="2" height="40">
                            <tr>
                                <td class="pageHeading"><?php 
echo RATEPAY_ADMIN_LOGGING;
?>
</td>
开发者ID:ratepay,项目名称:oscommerce-module,代码行数:31,代码来源:ratepay_logging.php

示例2:

 <?php 
echo $piRatepay->shopSortCode;
?>
</span><br/>
            <span><?php 
echo RATEPAY_RECHNUNG_PDF_ACCOUNTNUMBER;
?>
 <?php 
echo $piRatepay->shopAccountNumber;
?>
</span><br/>
            <span><b><?php 
echo RATEPAY_RECHNUNG_PDF_REFERENCE;
?>
 <?php 
echo Db::getRatepayOrderDataEntry(Globals::getParam('oID'), 'descriptor');
?>
</b></span><br/>
            <span><?php 
echo RATEPAY_RECHNUNG_PDF_INTERNATIONALDESC;
?>
</span><br/>
            <span><?php 
echo RATEPAY_RECHNUNG_PDF_SWIFTBIC;
?>
 <?php 
echo $piRatepay->shopSwift;
?>
 <?php 
echo RATEPAY_RECHNUNG_PDF_IBAN;
?>
开发者ID:ratepay,项目名称:oscommerce-module,代码行数:31,代码来源:ratepay_rechnung_print_order.php

示例3: die

 * @category  PayIntelligent
 * @package   ratepay
 * @copyright (C) 2012 PayIntelligent GmbH  <http://www.payintelligent.de/>
 * @license   GPLv2
 */
/**
 * RatePAY order template, displays the deliver/cancel, refund, credit and histroy panel
 */
require_once 'includes/application_top.php';
require_once '../includes/languages/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php';
require_once '../includes/classes/ratepay/helpers/Data.php';
require_once '../includes/classes/ratepay/helpers/Db.php';
require_once '../includes/classes/ratepay/helpers/Session.php';
require_once '../includes/classes/ratepay/helpers/Globals.php';
require_once 'includes/classes/order.php';
$orderId = Globals::hasParam('oID') ? Globals::getParam('oID') : die('Missing param: "oID"');
$order = new order($orderId);
$lang = $_SESSION['language'];
$basketAmount = Data::getBasketAmount($order, $orderId);
require DIR_WS_INCLUDES . 'template_top.php';
?>
<script language="javascript" src="<?php 
echo DIR_WS_CATALOG . 'templates/javascript/ratepay_order.js';
?>
"></script>
<style>
    .piRpRight
    {
        text-align:right;
    }
</style>
开发者ID:ratepay,项目名称:oscommerce-module,代码行数:31,代码来源:ratepay_order.php

示例4: die

 * GNU General Public License for more details.
 *
 * @category  PayIntelligent
 * @package   ratepay
 * @copyright (C) 2012 PayIntelligent GmbH  <http://www.payintelligent.de/>
 * @license   GPLv2
 */
/**
 * RatePAY logging template, displays the XML
 */
require_once 'includes/application_top.php';
require_once '../includes/languages/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php';
require_once '../includes/classes/ratepay/helpers/Data.php';
require_once '../includes/classes/ratepay/helpers/Db.php';
require_once '../includes/classes/ratepay/helpers/Globals.php';
Globals::hasParam('id') ? $log = Db::getLogEntry(Globals::getParam('id')) : die('Page not allowed!');
require DIR_WS_INCLUDES . 'header.php';
?>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/general.js"></script>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
    <tr>
        <td width="<?php 
echo BOX_WIDTH;
?>
" valign="top">
            <table border="0" width="<?php 
echo BOX_WIDTH;
?>
" cellspacing="1"
                   cellpadding="1" class="columnLeft">
开发者ID:ratepay,项目名称:oscommerce-module,代码行数:31,代码来源:ratepay_log.php

示例5: getLoggingLogical

 /**
  * Retrieve the logging logical
  * 
  * @return string
  */
 public static function getLoggingLogical()
 {
     $logicals = array('desc' => 'asc', 'asc' => 'desc');
     $logical = 'desc';
     if (Globals::hasParam('logical')) {
         $logical = $logicals[Globals::getParam('logical')];
     }
     return $logical;
 }
开发者ID:ratepay,项目名称:oscommerce-module,代码行数:14,代码来源:Data.php


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