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


PHP CCurrency::GetList方法代码示例

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


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

示例1: PrepareCurrency4Where

	public static function PrepareCurrency4Where($val, $key, $operation, $negative, $field, &$arField, &$arFilter)
	{
		$val = DoubleVal($val);

		$baseSiteCurrency = "";
		if (isset($arFilter["LID"]) && strlen($arFilter["LID"]) > 0)
			$baseSiteCurrency = CSaleLang::GetLangCurrency($arFilter["LID"]);
		elseif (isset($arFilter["CURRENCY"]) && strlen($arFilter["CURRENCY"]) > 0)
			$baseSiteCurrency = $arFilter["CURRENCY"];

		if (strlen($baseSiteCurrency) <= 0)
			return False;

		$strSqlSearch = "";

		$dbCurrency = CCurrency::GetList(($by = "sort"), ($order = "asc"));
		while ($arCurrency = $dbCurrency->Fetch())
		{
			$val1 = roundEx(CCurrencyRates::ConvertCurrency($val, $baseSiteCurrency, $arCurrency["CURRENCY"]), SALE_VALUE_PRECISION);
			if (strlen($strSqlSearch) > 0)
				$strSqlSearch .= " OR ";

			$strSqlSearch .= "(D.ORDER_CURRENCY = '".$arCurrency["CURRENCY"]."' AND ";
			if ($negative == "Y")
				$strSqlSearch .= "NOT";
			$strSqlSearch .= "(".$field." ".$operation." ".$val1." OR ".$field." IS NULL OR ".$field." = 0)";
			$strSqlSearch .= ")";
		}

		return "(".$strSqlSearch.")";
	}
开发者ID:ASDAFF,项目名称:bxApiDocs,代码行数:31,代码来源:delivery.php

示例2: GetWMCurrency

	static function GetWMCurrency($currency) {
		$arCurrency = array();
		if(CModule::IncludeModule("currency")) {
			$lcur = CCurrency::GetList(($b="name"), ($order1="asc"), LANGUAGE_ID);
			while($lcur_res = $lcur->Fetch()) {
				$arCurrency[$lcur_res['CURRENCY']] = COption::GetOptionString(COnpayPayment::$module_id, "currency_".$lcur_res['CURRENCY']);
			}
		}
		if(isset($arCurrency, $currency)) $currency = $arCurrency[$currency];
		return $currency;
	}
开发者ID:ASDAFF,项目名称:onpay.sale,代码行数:11,代码来源:onpay_payment.php

示例3: PrepareListItems

 public static function PrepareListItems()
 {
     if (!CModule::IncludeModule('currency')) {
         return array();
     }
     $ary = array();
     $dbCurrencies = CCurrency::GetList($by = 'sort', $order = 'asc');
     while ($arCurrency = $dbCurrencies->Fetch()) {
         $ary[$arCurrency['CURRENCY']] = $arCurrency['FULL_NAME'];
     }
     return $ary;
 }
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:12,代码来源:crm_currency_helper.php

示例4: array

		'DEFAULT' => 'N',
	);
	$arComponentParameters["PARAMETERS"]['CONVERT_CURRENCY'] = array(
		'PARENT' => 'PRICES',
		'NAME' => GetMessage('CP_BCS_CONVERT_CURRENCY'),
		'TYPE' => 'CHECKBOX',
		'DEFAULT' => 'N',
		'REFRESH' => 'Y',
	);

	if (isset($arCurrentValues['CONVERT_CURRENCY']) && 'Y' == $arCurrentValues['CONVERT_CURRENCY'])
	{
		$arCurrencyList = array();
		$by = 'SORT';
		$order = 'ASC';
		$rsCurrencies = CCurrency::GetList($by, $order);
		while ($arCurrency = $rsCurrencies->Fetch())
		{
			$arCurrencyList[$arCurrency['CURRENCY']] = $arCurrency['CURRENCY'];
		}
		$arComponentParameters['PARAMETERS']['CURRENCY_ID'] = array(
			'PARENT' => 'PRICES',
			'NAME' => GetMessage('CP_BCS_CURRENCY_ID'),
			'TYPE' => 'LIST',
			'VALUES' => $arCurrencyList,
			'DEFAULT' => CCurrency::GetBaseCurrency(),
			"ADDITIONAL_VALUES" => "Y",
		);
	}
}
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:30,代码来源:.parameters.php

示例5: GetMessage

        ?>
		</select><br /><br /></td>
	</tr>
	<tr class="heading">
		<td colspan="2"><?php 
        echo GetMessage('YANDEX_CURRENCIES');
        ?>
</td>
	</tr>

	<tr>
		<td colspan="2"><br />
<?php 
        $arCurrencyList = array();
        $arCurrencyAllowed = array('RUR', 'RUB', 'USD', 'EUR', 'UAH', 'BYR', 'KZT');
        $dbRes = CCurrency::GetList($by = 'sort', $order = 'asc');
        while ($arRes = $dbRes->GetNext()) {
            if (in_array($arRes['CURRENCY'], $arCurrencyAllowed)) {
                $arCurrencyList[$arRes['CURRENCY']] = $arRes['FULL_NAME'];
            }
        }
        $arValues = array('SITE' => GetMessage('YANDEX_CURRENCY_RATE_SITE'), 'CBRF' => GetMessage('YANDEX_CURRENCY_RATE_CBRF'), 'NBU' => GetMessage('YANDEX_CURRENCY_RATE_NBU'), 'NBK' => GetMessage('YANDEX_CURRENCY_RATE_NBK'), 'CB' => GetMessage('YANDEX_CURRENCY_RATE_CB'));
        ?>
<table cellpadding="2" cellspacing="0" border="0" class="internal" align="center">
<thead>
	<tr class="heading">
		<td colspan="2"><?php 
        echo GetMessage('YANDEX_CURRENCY');
        ?>
</td>
		<td><?php 
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:yandex_detail.php

示例6: array

		{
			if(in_array("CATALOG_GROUP_".$CatalogGroups["ID"], $arSelectedFields))
			{
				$arFilter["CATALOG_SHOP_QUANTITY_".$CatalogGroups["ID"]] = 1;
				$boolPriceInc = true;
			}
		}
	}
	if ($boolPriceInc)
	{
		$bCurrency = Loader::includeModule('currency');
		if ($bCurrency)
		{
			$by1="sort";
			$order1="asc";
			$rsCurrencies = CCurrency::GetList($by1, $order1);
			while ($arCurrency = $rsCurrencies->GetNext())
			{
				$arCurrencyList[] = $arCurrency;
			}
		}
	}
	unset($boolPriceInc);
}

$arVisibleColumnsMap = array();
foreach($arSelectedFields as $value)
	$arVisibleColumnsMap[$value] = true;

// Getting list data
if(array_key_exists("ELEMENT_CNT", $arVisibleColumnsMap))
开发者ID:nycmic,项目名称:bittest,代码行数:31,代码来源:iblock_list_admin.php

示例7: intval

$height = intval($_GET["height"]);
$max_height = COption::GetOptionInt("sale", "GRAPH_HEIGHT", 600);
if ($height <= 0 || $height > $max_height) {
    $height = $max_height;
}
if ($mode != "money") {
    $mode = "count";
}
$arColor = array("08738C", "C6B59C", "0000FF", "FF0000", "FFFF00", "F7C684", "8CD694", "9CADCE", "B584BD", "C684BD", "FF94C6", "BDE794", "F7949C", "7BCE6B", "FF6342", "E2F86B", "A5DE63", "42BD6B", "52BDA5", "F79473", "5AC6DE", "94D6C6", "9C52AD", "BD52AD", "9C94C6", "FF63AD", "FF6384", "FE881D", "FF9C21", "FFAD7B", "EFFF29", "7BCE6B", "42BD6B", "52C6AD", "6B8CBD", "3963AD", "F7298C", "A51800", "9CA510", "528C21", "689EB9", "217B29", "6B8CC6", "D6496C", "C6A56B", "00B0A4", "AD844A", "9710B4", "946331", "AD3908", "734210", "008400", "3EC19A", "28D7D7", "6B63AD", "A4C13E", "7BCE31", "A5DE94", "94D6E7", "9C8C73", "FF8C4A", "A7588B", "03CF45", "F7B54A", "808040", "947BBD", "840084", "737373", "C48322", "809254", "1E8259", "63C6DE", "46128D", "8080C0");
$arStatus = array();
$dbStatusList = CSaleStatus::GetList(array("SORT" => "ASC"), array("LID" => LANGUAGE_ID), false, false, array("ID", "NAME", "SORT"));
while ($arStatusList = $dbStatusList->GetNext()) {
    $arStatus[$arStatusList["ID"]] = $arStatusList["NAME"];
}
$arCurrency = array();
$dbCur = CCurrency::GetList($b = "sort", $order1 = "asc", LANGUAGE_ID);
while ($arCur = $dbCur->GetNext()) {
    $arCurrency[$arCur["CURRENCY"]] = $arCur["FULL_NAME"];
}
$dbSite = CSite::GetList($by = "sort", $order = "desc", array("ACTIVE" => "Y"));
while ($arSites = $dbSite->GetNext()) {
    $arSite[$arSites["LID"]] = $arSites["NAME"];
}
$arFind = array("find_canceled" => $find_canceled, "find_allow_delivery" => $find_allow_delivery, "find_payed" => $find_payed, "find_all" => $find_all, "filter_by" => $filter_by, "mode" => $mode);
foreach ($arCurrency as $k1 => $v1) {
    if (${"find_all_" . $k1} == "Y") {
        $arFind["find_all_" . $k1] = ${"find_all_" . $k1};
    }
    if (${"find_payed_" . $k1} == "Y") {
        $arFind["find_payed_" . $k1] = ${"find_payed_" . $k1};
    }
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:stat_graph.php

示例8: GetMessage

CIBlockParameters::AddPagerSettings($arComponentParameters, GetMessage("T_IBLOCK_DESC_PAGER_CATALOG"), true, true);

if (CModule::IncludeModule('catalog') && CModule::IncludeModule('currency'))
{
	$arComponentParameters["PARAMETERS"]['CONVERT_CURRENCY'] = array(
		'PARENT' => 'PRICES',
		'NAME' => GetMessage('CP_BCS_CONVERT_CURRENCY'),
		'TYPE' => 'CHECKBOX',
		'DEFAULT' => 'N',
		'REFRESH' => 'Y',
	);

	if (isset($arCurrentValues['CONVERT_CURRENCY']) && 'Y' == $arCurrentValues['CONVERT_CURRENCY'])
	{
		$arCurrencyList = array();
		$rsCurrencies = CCurrency::GetList(($by = 'SORT'), ($order = 'ASC'));
		while ($arCurrency = $rsCurrencies->Fetch())
		{
			$arCurrencyList[$arCurrency['CURRENCY']] = $arCurrency['CURRENCY'];
		}
		$arComponentParameters['PARAMETERS']['CURRENCY_ID'] = array(
			'PARENT' => 'PRICES',
			'NAME' => GetMessage('CP_BCS_CURRENCY_ID'),
			'TYPE' => 'LIST',
			'VALUES' => $arCurrencyList,
			'DEFAULT' => CCurrency::GetBaseCurrency(),
			"ADDITIONAL_VALUES" => "Y",
		);
	}
}
开发者ID:nProfessor,项目名称:Mytb,代码行数:30,代码来源:.parameters.php

示例9: InstallDB

	function InstallDB()
	{
		global $DB, $DBType, $APPLICATION;
		$this->errors = false;
		RegisterModule("onpay.sale");
		$arOptions = array("login", "api_in_key", "success_url", "fail_url", "iframe_form", "convert");
		if(CModule::IncludeModule("currency")) {
			$lcur = CCurrency::GetList(($b="name"), ($order1="asc"), LANGUAGE_ID);
			while($lcur_res = $lcur->Fetch()) {
				$arOptions[] = "currency_".$lcur_res['CURRENCY'];
			}
		}
		foreach($arOptions as $name) {
			COption::SetOptionString("onpay.sale", $name, $_REQUEST[$name], "");
		}
		return true;
	}
开发者ID:ASDAFF,项目名称:onpay.sale,代码行数:17,代码来源:index.php

示例10: CheckFields

 public function CheckFields($strAction, &$arFields, $intID = 0)
 {
     global $APPLICATION;
     global $DB;
     global $USER;
     $strAction = strtoupper($strAction);
     if ('UPDATE' != $strAction && 'ADD' != $strAction) {
         return false;
     }
     $intID = (int) $intID;
     $arCurrencyList = array();
     $by = 'sort';
     $order = 'asc';
     $rsCurrencies = CCurrency::GetList($by, $order);
     while ($arCurrency = $rsCurrencies->Fetch()) {
         $arCurrencyList[] = $arCurrency['CURRENCY'];
     }
     $boolResult = true;
     $arMsg = array();
     if (array_key_exists('ID', $arFields)) {
         unset($arFields['ID']);
     }
     if ((is_set($arFields, "SITE_ID") || $strAction == "ADD") && empty($arFields["SITE_ID"])) {
         $arMsg[] = array('id' => 'SITE_ID', 'text' => Loc::getMessage('BT_MOD_CAT_DSC_SV_ERR_EMPTY_SITE'));
         $boolResult = false;
     } else {
         $rsSites = CSite::GetByID($arFields['SITE_ID']);
         if (!($arSite = $rsSites->Fetch())) {
             $arMsg[] = array('id' => 'SITE_ID', 'text' => Loc::getMessage('BT_MOD_CAT_DSC_SV_ERR_BAD_SITE'));
             $boolResult = false;
         }
     }
     if ((is_set($arFields, "NAME") || $strAction == "ADD") && strlen(trim($arFields["NAME"])) <= 0) {
         $arMsg[] = array('id' => 'NAME', 'text' => Loc::getMessage('BT_MOD_CAT_DSC_SV_ERR_EMPTY_NAME'));
         $boolResult = false;
     }
     if ((is_set($arFields, "ACTIVE") || $strAction == "ADD") && $arFields["ACTIVE"] != "N") {
         $arFields["ACTIVE"] = "Y";
     }
     if ((is_set($arFields, 'SORT') || $strAction == 'ADD') && intval($arFields['SORT']) <= 0) {
         $arFields['SORT'] = 500;
     }
     if ((is_set($arFields, "CURRENCY") || $strAction == "ADD") && empty($arFields["CURRENCY"])) {
         $arMsg[] = array('id' => 'CURRENCY', 'text' => Loc::getMessage('BT_MOD_CAT_DSC_SV_ERR_EMPTY_CURRENCY'));
         $boolResult = false;
     } elseif (!in_array($arFields['CURRENCY'], $arCurrencyList)) {
         $arMsg[] = array('id' => 'CURRENCY', 'text' => Loc::getMessage('BT_MOD_CAT_DSC_SV_ERR_BAD_CURRENCY'));
         $boolResult = false;
     }
     if ((is_set($arFields, "ACTIVE_FROM") || $strAction == "ADD") && !$DB->IsDate($arFields["ACTIVE_FROM"], false, LANGUAGE_ID, "FULL")) {
         $arFields["ACTIVE_FROM"] = false;
     }
     if ((is_set($arFields, "ACTIVE_TO") || $strAction == "ADD") && !$DB->IsDate($arFields["ACTIVE_TO"], false, LANGUAGE_ID, "FULL")) {
         $arFields["ACTIVE_TO"] = false;
     }
     if ((is_set($arFields, 'COUNT_SIZE') || $strAction == 'ADD') && intval($arFields['COUNT_SIZE']) < 0) {
         $arFields['COUNT_SIZE'] = 0;
     }
     if ((is_set($arFields, 'COUNT_TYPE') || $strAction == 'ADD') && !in_array($arFields['COUNT_TYPE'], array('D', 'M', 'Y'))) {
         $arFields['COUNT_TYPE'] = 'Y';
     }
     if ((is_set($arFields, "COUNT_FROM") || $strAction == "ADD") && !$DB->IsDate($arFields["COUNT_FROM"], false, LANGUAGE_ID, "FULL")) {
         $arFields["COUNT_FROM"] = false;
     }
     if ((is_set($arFields, "COUNT_TO") || $strAction == "ADD") && !$DB->IsDate($arFields["COUNT_TO"], false, LANGUAGE_ID, "FULL")) {
         $arFields["COUNT_TO"] = false;
     }
     if (is_set($arFields, 'COUNT_PERIOD')) {
         unset($arFields['COUNT_PERIOD']);
     }
     $strCountPeriod = self::COUNT_TIME_ALL;
     if (is_set($arFields, 'COUNT_SIZE') && intval($arFields['COUNT_SIZE']) > 0) {
         $strCountPeriod = self::COUNT_TIME_PERIOD;
     }
     if (!empty($arFields["COUNT_FROM"]) || !empty($arFields["COUNT_TO"])) {
         $strCountPeriod = self::COUNT_TIME_INTERVAL;
     }
     $arFields['COUNT_PERIOD'] = $strCountPeriod;
     if ((is_set($arFields, 'ACTION_SIZE') || $strAction == 'ADD') && intval($arFields['ACTION_SIZE']) < 0) {
         $arFields['ACTION_SIZE'] = 0;
     }
     if ((is_set($arFields, 'ACTION_TYPE') || $strAction == 'ADD') && !in_array($arFields['ACTION_TYPE'], array('D', 'M', 'Y'))) {
         $arFields['ACTION_TYPE'] = 'Y';
     }
     $arFields['TYPE'] = self::ENTITY_ID;
     $arFields["RENEWAL"] = 'N';
     $arFields['PRIORITY'] = 1;
     $arFields['LAST_DISCOUNT'] = 'Y';
     $intUserID = 0;
     $boolUserExist = CCatalog::IsUserExists();
     if ($boolUserExist) {
         $intUserID = (int) $USER->GetID();
     }
     $strDateFunction = $DB->GetNowFunction();
     if (array_key_exists('TIMESTAMP_X', $arFields)) {
         unset($arFields['TIMESTAMP_X']);
     }
     if (array_key_exists('DATE_CREATE', $arFields)) {
         unset($arFields['DATE_CREATE']);
     }
//.........这里部分代码省略.........
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:101,代码来源:discount_save.php

示例11: GetList

 public static function GetList($arOrder, $langID = '')
 {
     if (!CModule::IncludeModule('currency')) {
         return false;
     }
     if (!is_array($arOrder)) {
         $arOrder = array();
     }
     $arOrderFields = array_keys($arOrder);
     if (count($arOrderFields) > 0) {
         $by = $arOrderFields[0];
         $order = $arOrder[$by];
     } else {
         $by = 'sort';
         $order = 'asc';
     }
     $langID = strval($langID);
     if ($langID === '') {
         $langID = LANGUAGE_ID;
     }
     return CCurrency::GetList($by, $order, $langID);
 }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:22,代码来源:crm_currency.php

示例12: array

		foreach ($arCatGroup as &$CatalogGroups)
		{
			if (in_array("CATALOG_GROUP_".$CatalogGroups["ID"], $arSelectedFields))
			{
				$arFilter["CATALOG_SHOP_QUANTITY_".$CatalogGroups["ID"]] = 1;
				$boolPriceInc = true;
			}
		}
		unset($CatalogGroups);
	}
	if ($boolPriceInc)
	{
		$boolSubCurrency = CModule::IncludeModule('currency');
		if ($boolSubCurrency)
		{
			$rsCurrencies = CCurrency::GetList(($by1="sort"), ($order1="asc"));
			while ($arCurrency = $rsCurrencies->GetNext(true,true))
			{
				$arCurrencyList[] = $arCurrency;
			}
		}
	}
	unset($boolPriceInc);
}

$arSelectedFieldsMap = array();
foreach ($arSelectedFields as $field)
	$arSelectedFieldsMap[$field] = true;

if (!((false == B_ADMIN_SUBELEMENTS_LIST) && ($bCopy)))
{
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:iblock_subelement_list.php

示例13: array

	$by2 = 'sort';
	$order2 = 'asc';
	$rsSites = CSite::GetList($by2, $order2);
	while ($arSite = $rsSites->Fetch())
	{
		$arSiteList[$arSite['LID']] = $arSite['LID'];
		$arSiteLinkList[$arSite['LID']] = '<a href="/bitrix/admin/site_edit.php?lang='.urlencode(LANGUAGE_ID).'&LID='.urlencode($arSite['LID']).'" title="'.GetMessage('BT_CAT_DISC_SAVE_ADM_MESS_SITE_ID').'">'.htmlspecialcharsex($arSite['LID']).'</a>';
	}
}

$arCurrencyList = array();
if ($arSelectFieldsMap['CURRENCY'])
{
	$by2 = 'sort';
	$order2 = 'asc';
	$rsCurrencies = CCurrency::GetList($by2, $order2);
	while ($arCurrency = $rsCurrencies->Fetch())
	{
		$arCurrencyList[$arCurrency['CURRENCY']] = $arCurrency['CURRENCY'];
	}
}

$arPeriodTypeList = CCatalogDiscountSave::GetPeriodTypeList(true);

$arUserList = array();
$arUserID = array();
$strNameFormat = CSite::GetNameFormat(true);

$arNavParams = (isset($_REQUEST["mode"]) && "excel" == $_REQUEST["mode"]
	? false
	: array("nPageSize" => CAdminResult::GetNavSize($sTableID))
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:cat_discsave_admin.php

示例14: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
$arCurrency = array();
$arAmount = array();
$arAvAmount = unserialize(COption::GetOptionString("sale", "pay_amount", 'a:4:{i:1;a:2:{s:6:"AMOUNT";s:2:"10";s:8:"CURRENCY";s:3:"EUR";}i:2;a:2:{s:6:"AMOUNT";s:2:"20";s:8:"CURRENCY";s:3:"EUR";}i:3;a:2:{s:6:"AMOUNT";s:2:"30";s:8:"CURRENCY";s:3:"EUR";}i:4;a:2:{s:6:"AMOUNT";s:2:"40";s:8:"CURRENCY";s:3:"EUR";}}'));
if (CModule::IncludeModule("sale")) {
    if (!empty($arAvAmount)) {
        foreach ($arAvAmount as $key => $val) {
            $arAmount[$key] = SaleFormatCurrency($val["AMOUNT"], $val["CURRENCY"]);
        }
    }
}
if (CModule::IncludeModule("currency")) {
    $rsCurrency = CCurrency::GetList($by = "SORT", $order = "ASC");
    while ($arr = $rsCurrency->Fetch()) {
        $arCurrency[$arr["CURRENCY"]] = "[" . $arr["CURRENCY"] . "] " . $arr["FULL_NAME"];
    }
}
$arComponentParameters = array("PARAMETERS" => array("PATH_TO_BASKET" => array("NAME" => GetMessage("SAPP_PATH_TO_BASKET"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/personal/basket.php", "COLS" => 25), "REDIRECT_TO_CURRENT_PAGE" => array("NAME" => GetMessage("SAPP_REDIRECT_TO_CURRENT_PAGE"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "DEFAULT" => "N"), "SELL_AMOUNT" => array("NAME" => GetMessage("SAPP_SELL_AMOUNT"), "TYPE" => "LIST", "MULTIPLE" => "Y", "VALUES" => $arAmount, "COLS" => 25, "ADDITIONAL_VALUES" => "N"), "SELL_CURRENCY" => array("NAME" => GetMessage("SAPP_SELL_CURRENCY"), "TYPE" => "LIST", "MULTIPLE" => "N", "VALUES" => $arCurrency, "COLS" => 25, "ADDITIONAL_VALUES" => "N"), "VAR" => array("NAME" => GetMessage("SAPP_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "buyMoney", "COLS" => 25), "CALLBACK_NAME" => array("NAME" => GetMessage("SAPP_CALLBACK_NAME"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "PayUserAccountDeliveryOrderCallback", "COLS" => 25), "SET_TITLE" => array()));
开发者ID:webgksupport,项目名称:alpina,代码行数:22,代码来源:.parameters.php

示例15: Array

		}
		if(!$bStatusP)
		{
			$arFields = Array("ID" => "P", "SORT" => 150);
			foreach($arLanguages as $langID)
			{
				WizardServices::IncludeServiceLang("step1.php", $langID);
				$arFields["LANG"][] = Array("LID" => $langID, "NAME" => GetMessage("WIZ_SALE_STATUS_P"), "DESCRIPTION" => GetMessage("WIZ_SALE_STATUS_DESCRIPTION_P"));
			}

			CSaleStatus::Add($arFields);
		}

		if(CModule::IncludeModule("currency"))
		{
			$dbCur = CCurrency::GetList($by="currency", $o = "asc");
			while($arCur = $dbCur->Fetch())
			{
				if($lang == "ru")
					CCurrencyLang::Update($arCur["CURRENCY"], $lang, Array("DECIMALS" => 0));
				elseif($arCur["CURRENCY"] == "EUR")
					CCurrencyLang::Update($arCur["CURRENCY"], $lang, Array("DECIMALS" => 2, "FORMAT_STRING" => "&euro;#"));
			}
		}
		WizardServices::IncludeServiceLang("step1.php", $lang);
		CModule::IncludeModule("catalog");

		$dbVat = CCatalogVat::GetList(array(), Array("SITE_ID" => WIZARD_SITE_ID));
		if(!($dbVat->Fetch()))
		{
			$arF = Array ("ACTIVE" => "Y", "SORT" => "100", "NAME" => GetMessage("WIZ_VAT_1"), "RATE" => 0);
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:step1.php


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