本文整理匯總了PHP中comquick2cartHelper::getStoreOrdereAuthorization方法的典型用法代碼示例。如果您正苦於以下問題:PHP comquick2cartHelper::getStoreOrdereAuthorization方法的具體用法?PHP comquick2cartHelper::getStoreOrdereAuthorization怎麽用?PHP comquick2cartHelper::getStoreOrdereAuthorization使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類comquick2cartHelper
的用法示例。
在下文中一共展示了comquick2cartHelper::getStoreOrdereAuthorization方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
<legend><?php
echo JText::_('QTC_STORE_CUSTOMER_DETAIL');
?>
</legend>
<?php
}
?>
<?php
/* if user is on payment layout and log out at that time undefined order is is found
in such condition send to home page or provide error msg
*/
// Dont allow to display is user in not autorize
$helperobj = new comquick2cartHelper();
$result = $helperobj->getStoreOrdereAuthorization($this->store_id, $this->orderid);
$result = !empty($result) ? 1 : 0;
if (empty($this->store_authorize) || $result == 0) {
?>
<div class="well" >
<div class="alert alert-error">
<span ><?php
echo JText::_('QTC_NOT_AUTHORIZED_USER');
?>
</span>
</div>
</div>
</div>
<?php
return false;
}