本文整理汇总了PHP中BFCHelper::getMerchantPaymentData方法的典型用法代码示例。如果您正苦于以下问题:PHP BFCHelper::getMerchantPaymentData方法的具体用法?PHP BFCHelper::getMerchantPaymentData怎么用?PHP BFCHelper::getMerchantPaymentData使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BFCHelper
的用法示例。
在下文中一共展示了BFCHelper::getMerchantPaymentData方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: AND
<?php
if ($order->Status == 20 && !$ArchivedAsSpam) {
$db = JFactory::getDBO();
$uriMerchant = 'index.php?option=com_bookingforconnector&view=merchantdetails';
$db->setQuery('SELECT id FROM #__menu WHERE link LIKE ' . $db->Quote($uriMerchant . '%') . ' AND (language=' . $db->Quote($this->language) . ' OR language=' . $db->Quote('*') . ') AND published = 1 LIMIT 1');
$itemIdMerchant = $db->getErrorNum() ? 0 : intval($db->loadResult());
$uriMerchant .= '&merchantId=' . $order->MerchantId . ':';
if ($itemIdMerchant != 0) {
$uriMerchant .= '&Itemid=' . $itemIdMerchant;
}
$uriMerchantthanks = $uriMerchant . '&layout=thanks';
$uriMerchantthanksKo = $uriMerchant . '&layout=errors';
$routeThanks = JRoute::_($uriMerchantthanks);
$routeThanksKo = JRoute::_($uriMerchantthanksKo);
$currentbookingTypeId = BFCHelper::getOrderMerchantPaymentId($order);
$data = BFCHelper::getMerchantPaymentData($currentbookingTypeId);
if (!empty($data)) {
$cCCTypeList = array();
$datas = explode("|", $data->Data);
if (is_array($datas)) {
foreach ($datas as $singleData) {
$cCCTypeList[] = JHTML::_('select.option', $singleData, $singleData);
}
} else {
$cCCTypeList[] = JHTML::_('select.option', $datas, $datas);
}
}
?>
<form method="post" id="ccdataupdate" class="form-validate" action="<?php
echo $formRoute;