本文整理汇总了PHP中EnmasseHelper::displayJson方法的典型用法代码示例。如果您正苦于以下问题:PHP EnmasseHelper::displayJson方法的具体用法?PHP EnmasseHelper::displayJson怎么用?PHP EnmasseHelper::displayJson使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EnmasseHelper
的用法示例。
在下文中一共展示了EnmasseHelper::displayJson方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strtoupper
echo "<br />";
}
if ($order_row->point_used_to_pay > 0) {
echo '<strong>' . JText::_('POINTS') . ':</strong> ' . $order_row->point_used_to_pay;
}
?>
</td>
</tr>
<tr>
<td width="100" align="right" class="key" valign="top"><?php
echo JText::_('ORDER_DELIVERY_DETAIL');
?>
</td>
<td align="left"><?php
echo EnmasseHelper::displayJson($order_row->delivery_detail);
?>
</td>
</tr>
<tr>
<td width="100" align="right" class="key" valign="top"><?php
echo JText::_('ORDER_STATUS');
?>
</td>
<td>
<input type="hidden" name="status" value="" />
<div style="width: 80px; line-height: 15px;">
<b>
<?php
echo JText::_('ORDER_' . strtoupper($order_row->status));
?>
示例2:
?>
</td>
<td>
<?php
echo $row->qty;
?>
</td>
<td>
<?php
echo EnmasseHelper::displayBuyer(json_decode($row->buyer_detail));
?>
</td>
<td nowrap="true">
<?php
if (json_decode($row->pay_detail) != '') {
echo EnmasseHelper::displayJson($row->pay_detail);
echo "<br />";
}
if ($row->point_used_to_pay > 0) {
echo '<strong>' . JText::_('POINTS') . ':</strong> ' . $row->point_used_to_pay;
}
?>
</td>
<td align="center">
<?php
if ($row->status == "Paid" && $row->total_buyer_paid > $row->paid_amount) {
echo JText::_('ORDER_PARTIAL_PAID');
} else {
if ($row->status == "Paid" && $row->total_buyer_paid == $row->paid_amount) {
echo JText::_('ORDER_FULL_PAID');
示例3:
<td valign="top"><?php
echo JText::_('ORDER_REMAIN_AMOUNT');
?>
</td>
<td><?php
echo EnmasseHelper::displayCurrency($this->oOrder->total_buyer_paid - $this->oOrder->paid_amount);
?>
</td>
</tr>
<tr>
<td valign="top"><?php
echo JText::_('ORDER_DELIVERY');
?>
</td>
<td><?php
echo EnmasseHelper::displayJson($this->oOrder->delivery_detail);
?>
</td>
</tr>
<tr>
<td valign="top"><?php
echo JText::_('ORDER_DELIVERY_STATUS');
?>
</td>
<td><?php
echo JHtml::_('select.genericList', $dlvStatus, 'delivery_status', null, 'value', 'text', $this->oOrder->delivery_status, false, true);
?>
</td>
</tr>
<tr>
<td valign="top"><?php
示例4:
</td>
<td align="center">
<a href="<?php
echo $link;
?>
"><?php
echo $row->name;
?>
</a>
</td>
<td align="center"><?php
echo $published;
?>
</td>
<td align="left"><?php
echo EnmasseHelper::displayJson($row->attribute_config);
?>
</td>
<td><?php
echo DatetimeWrapper::getDisplayDatetime($row->updated_at);
?>
</td>
</tr>
<?php
}
?>
</table>
<input type="hidden" name="option" value="<?php
echo $option;
?>