本文整理汇总了PHP中ShopFunctions::getOrderStatusName方法的典型用法代码示例。如果您正苦于以下问题:PHP ShopFunctions::getOrderStatusName方法的具体用法?PHP ShopFunctions::getOrderStatusName怎么用?PHP ShopFunctions::getOrderStatusName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ShopFunctions
的用法示例。
在下文中一共展示了ShopFunctions::getOrderStatusName方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</a>
</td>
<td align="left">
<?php
echo vmJsApi::date($row->created_on, 'LC4', true);
?>
</td>
<td align="left">
<?php
echo vmJsApi::date($row->modified_on, 'LC3', true);
?>
</td>
<td align="left">
<?php
echo ShopFunctions::getOrderStatusName($row->order_status);
?>
</td>
<td align="left">
<?php
echo $row->currency->priceDisplay($row->order_total, $row->currency);
?>
</td>
</tr>
<?php
$k = 1 - $k;
}
?>
</table>
</div>
<?php
示例2:
<span><a href="<?php echo $editlink; ?>"><?php echo $row->order_number; ?></a></span>
</p>
<p>
<span><?php echo JText::_('COM_VIRTUEMART_ORDER_LIST_CDATE'); ?>: </span>
<span><?php echo vmJsApi::date($row->created_on,'LC4',true); ?></span>
</p>
<p>
<span><?php echo JText::_('COM_VIRTUEMART_ORDER_LIST_STATUS'); ?>: </span>
<span><?php echo ShopFunctions::getOrderStatusName($row->order_status); ?></span>
</p>
<p>
<span><?php echo JText::_('COM_VIRTUEMART_ORDER_LIST_TOTAL'); ?>: </span>
<span><span class="price"><?php echo $this->currency->priceDisplay($row->order_total, $row->currency); ?></span></span>
</p>
</td>
</tr>
<tr class="<?php echo "row$k"; ?> for-desktop even">
<td align="left"><a href="<?php echo $editlink; ?>"><?php echo $row->order_number; ?></a></td>
<td align="left"><?php echo vmJsApi::date($row->created_on,'LC4',true); ?></td>
<td align="left"><?php echo ShopFunctions::getOrderStatusName($row->order_status); ?></td>
<td class="a-right"><span class="price"><?php echo $this->currency->priceDisplay($row->order_total, $row->currency); ?></span></td>
</tr>
<?php
$k = 1 - $k;
}
?>
</table>
</div>
<?php } ?>
</div>