当前位置: 首页>>代码示例>>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;未经允许,请勿转载。