本文整理汇总了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 »</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>•</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\' />';