本文整理匯總了PHP中Orders::getMarketListCount方法的典型用法代碼示例。如果您正苦於以下問題:PHP Orders::getMarketListCount方法的具體用法?PHP Orders::getMarketListCount怎麽用?PHP Orders::getMarketListCount使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Orders
的用法示例。
在下文中一共展示了Orders::getMarketListCount方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: str_repeat
<div class="ltCell cell_page-content_control-panel">
<a class="button-white" href="/<?php
echo Funcs::$cdir;
?>
/orders/add/<?php
echo Orders::$nextOrderId;
?>
/" onclick="if(confirm('Внимание будет создан новый заказ №<?php
echo str_repeat('0', 6 - strlen(Orders::$nextOrderId)) . Orders::$nextOrderId;
?>
')){return true;}else{return false;}">Новый заказ</a>
<a class="button-white" href="/<?php
echo Funcs::$cdir;
?>
/orders/market/">Отзывы на маркете (<?php
echo Orders::getMarketListCount();
?>
)</a>
<a class="button-white" href="/<?php
echo Funcs::$cdir;
?>
/orders/editstatus/">Статусы</a>
</div>
</div>
<div class="ltRow">
<div class="cell_page-content_control-panel">
<div class="jsTabs">
<section class="onetabs">
<header class="onetabs_links">
<span class="jsTabsLink onetabs_link">Дополнительно</span>
<span class="jsTabsLink onetabs_link">Статистика</span>
示例2: market
public function market()
{
$data['list'] = Orders::getMarketList();
$data['count'] = Orders::getMarketListCount();
View::plugin('market', $data);
}