當前位置: 首頁>>代碼示例>>PHP>>正文


PHP design::retrieveStatusHistory方法代碼示例

本文整理匯總了PHP中design::retrieveStatusHistory方法的典型用法代碼示例。如果您正苦於以下問題:PHP design::retrieveStatusHistory方法的具體用法?PHP design::retrieveStatusHistory怎麽用?PHP design::retrieveStatusHistory使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在design的用法示例。


在下文中一共展示了design::retrieveStatusHistory方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: Elements

 $status_label['6'] = 'Moved to Graphic';
 $status_label['7'] = 'Moved to Details';
 $status_label['8'] = 'Moved to Finalize';
 $status_label['9'] = 'Finalized';
 $status_label['10'] = 'Moved to New Elements (NE)';
 $status_label['10-0'] = 'Moved to NE Sourcing';
 $status_label['10-1'] = 'Moved to NE Create';
 $status_label['10-2'] = 'Moved to NE Wax';
 $status_label['10-3'] = 'Moved to NE Master';
 $status_label['10-4'] = 'Moved to NE Rubber';
 $status_label['10-5'] = 'Moved to NE Casting';
 $status_label['10-6'] = 'Moved to NE Photo';
 $status_label['10-7'] = 'Moved to NE Finalize';
 $status_label['11'] = 'Moved to Pull Rack';
 $status_label['12'] = 'Moved to Product QC';
 $statuses = $design->retrieveStatusHistory();
 $content .= '<div style="margin-top:20px;" class="pointer blue" id="btn-show-status-history" title="show Status History"><h3>View Status History &raquo;</h3></div>';
 $content .= '<div style="margin-top:20px;display:none;">';
 $content .= '<h3 id="area-status-history" class="pointer" title="hide Status History">Status History</h3>';
 $content .= '<table class="nopad" border="0" cellpadding="0" cellspacing="0">';
 foreach ($statuses as $key => $s) {
     $label = $key > 0 && $s['status'] == '1' ? 'Moved Back to Idea' : $status_label[$s['status']];
     $content .= '<tr><td>&bull;</td><td>' . $label . '</td><td>on ' . date('d M Y H:i:s', $s['status_time']) . '</td><td>by ' . $s['status_by'] . '</td></tr>';
 }
 $content .= '</table>';
 $content .= '</div>';
 $content .= '</div>';
 //RIGHT Part close
 //FOLLOWERS
 $content .= $design->followers->drawFollowersWithContainer('Design Followers');
 //    $button_upload = '<input type=\'button\' class=\'btnupload\' value=\'New\' />';
開發者ID:blasiuscosa,項目名稱:manobo-2008,代碼行數:31,代碼來源:designs-detail.php


注:本文中的design::retrieveStatusHistory方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。