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


PHP CUtil::DecodeUriComponent方法代码示例

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


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

示例1: require_once

<?
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/include.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/prolog.php");

global $USER;
global $APPLICATION;

$crmMode = (defined("BX_PUBLIC_MODE") && BX_PUBLIC_MODE && array_key_exists("CRM_MANAGER_USER_ID", $_REQUEST));

if ($crmMode)
{
	CUtil::DecodeUriComponent($_GET);
	CUtil::DecodeUriComponent($_POST);

	echo '<link rel="stylesheet" type="text/css" href="/bitrix/themes/.default/sale.css" />';
}

$bUseCatalog = CModule::IncludeModule("catalog");
$bUseIblock = CModule::IncludeModule("iblock");

IncludeModuleLangFile(__FILE__);
ClearVars();

$ID = intval($ID);
$COUNT_RECOM_BASKET_PROD = 2;
$arOrderOldTmp = false;
define("PROP_COUNT_LIMIT", 21);

$arFilter = array(
	"LID" => LANG,
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:order_new.php

示例2: IntVal

		exit;
	}

	/*
	 * save tracking number
	 */
	if (isset($_REQUEST["tracking_number"]) && strlen($_REQUEST["tracking_number"]) >= 0)
	{
		$ID = IntVal($ID);
		$tracking_number = trim($tracking_number);

		$bUserCanEditOrder = CSaleOrder::CanUserUpdateOrder($ID, $arUserGroups);

		if (isset($change) && $change == "Y" && $bUserCanEditOrder && !CSaleOrder::IsLocked($ID, $lockedBY, $dateLock))
		{
			CUtil::DecodeUriComponent($tracking_number);
			CSaleOrder::Update($ID, array("TRACKING_NUMBER" => $tracking_number));
		}
		$arResult = array('message' => 'ok');
		$result = CUtil::PhpToJSObject($arResult);

		CRMModeOutput($result);
		exit;
	}

	/*
	 * reason cancel
	 */
	if (isset($_REQUEST["change_cancel"]) && $_REQUEST["change_cancel"] == "Y")
	{
		$errorMessageTmp = "";
开发者ID:akniyev,项目名称:arteva.ru,代码行数:31,代码来源:order_detail.php

示例3: GetMessage

							<?php 
        echo $selectLID;
        ?>
						</td>
					</tr>
					<?php 
    }
    ?>
					<tr>
						<td><?php 
    echo GetMessage('BUYER_BASKET_F_NAME');
    ?>
:</td>
						<td>
							<?php 
    CUtil::DecodeUriComponent($basket_name_product);
    ?>
							<input type="text" name="basket_name_product" size="48" value="<?php 
    echo htmlspecialcharsbx($basket_name_product);
    ?>
" >
						</td>
					</tr>
					<?php 
    $oFilter4->Buttons(array("table_id" => $sTableID_tab4, "url" => $APPLICATION->GetCurPageParam(), "form" => "find_form4"));
    $oFilter4->End();
    ?>
				</form>
				<?php 
    $lAdmin_tab4->DisplayList(array("FIX_HEADER" => false, "FIX_FOOTER" => false));
    ?>
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:buyers_profile.php

示例4: die

<?php

require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_before.php";
CModule::IncludeModule('bizproc');
global $APPLICATION;
if (!check_bitrix_sessid()) {
    die;
}
if (!CBPDocument::CanUserOperateDocumentType(CBPCanUserOperateOperation::CreateWorkflow, $GLOBALS["USER"]->GetID(), $_REQUEST['document_type'])) {
    die;
}
CUtil::DecodeUriComponent($_REQUEST);
$activityType = $_REQUEST['activity'];
$runtime = CBPRuntime::GetRuntime();
$runtime->StartRuntime();
$arActivityDescription = $runtime->GetActivityDescription($activityType);
if ($arActivityDescription == null) {
    die("Bad activity type!" . htmlspecialcharsbx($activityType));
}
$runtime->IncludeActivityFile($activityType);
$isHtml = !empty($_REQUEST['content_type']) && $_REQUEST['content_type'] == 'html';
if ($isHtml) {
    $APPLICATION->ShowAjaxHead();
}
$res = CBPActivity::CallStaticMethod($activityType, "getAjaxResponse", array($_REQUEST));
echo $isHtml ? $res : CUtil::PhpToJSObject($res);
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_after.php";
开发者ID:Satariall,项目名称:izurit,代码行数:27,代码来源:bizproc_activity_ajax.php

示例5: fGetFormatedProduct

         $arResult["ITEMS"] = fGetFormatedProduct($userId, $LID, $arViewed, 1, $currency, $type, $crmMode);
     }
     $arResult["TYPE"] = $type;
     $result = CUtil::PhpToJSObject($arResult);
     CRMModeOutput($result);
     exit;
 }
 /*
  * save comment
  */
 if (strlen($comment) > 0) {
     $ID = IntVal($ID);
     $comment = trim($comment);
     $bUserCanEditOrder = CSaleOrder::CanUserUpdateOrder($ID, $GLOBALS["USER"]->GetUserGroupArray());
     if (isset($change) && $change == "Y" && $bUserCanEditOrder && !CSaleOrder::IsLocked($ID, $lockedBY, $dateLock)) {
         CUtil::DecodeUriComponent($comment);
         CSaleOrder::CommentsOrder($ID, $comment);
     }
     $arResult = array('message' => 'ok');
     $result = CUtil::PhpToJSObject($arResult);
     CRMModeOutput($result);
     exit;
 }
 /*
  * reason cancel
  */
 if (isset($_REQUEST["change_cancel"]) && $_REQUEST["change_cancel"] == "Y") {
     $errorMessageTmp = "";
     $errorMessageReserve = "";
     $arResult = array();
     if (!$bUserCanCancelOrder) {
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:order_detail.php


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