本文整理汇总了PHP中design::getDesignSubStatus方法的典型用法代码示例。如果您正苦于以下问题:PHP design::getDesignSubStatus方法的具体用法?PHP design::getDesignSubStatus怎么用?PHP design::getDesignSubStatus使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类design
的用法示例。
在下文中一共展示了design::getDesignSubStatus方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
$sub_tabs_ne_content .= '</ul>';
$sub_tabs_ne_content .= '</div>';
//$sub_tabs_ne_content .= '</div>';
//$content .= $sub_tabs_ne_content;
//SUB TABS OF SAMPLINGS TAB
$sub_tabs_samplings = design::getDesignSubStatus(5);
$sub_tabs_samplings_content = '<div id="tab-samplings">';
$sub_tabs_samplings_content .= '<ul>';
$main_link_samplings = '?open=designs-manage&collection=0&status=5&sub_status=';
foreach ($sub_tabs_samplings as $s => $t) {
$sub_tabs_samplings_content .= '<li title="(Total Designs/Drafts/Products)"><a href="' . $main_link_samplings . $s . '" class="list-link">' . ucfirst($t) . ' (<span id="tab-stat-samplings-' . $s . '">-</span>)</a></li>';
}
$sub_tabs_samplings_content .= '</ul>';
$sub_tabs_samplings_content .= '</div>';
//SUB TABS OF PRODUCT PICTURE TAB
$sub_tabs_productpicture = design::getDesignSubStatus(14);
$sub_tabs_productpicture_content = '<div id="tab-productpicture">';
$sub_tabs_productpicture_content .= '<ul>';
$main_link_productpicture = '?open=designs-manage&collection=0&status=14&sub_status=';
foreach ($sub_tabs_productpicture as $s => $t) {
$sub_tabs_productpicture_content .= '<li title="(Total Designs/Drafts/Products)"><a href="' . $main_link_productpicture . $s . '" class="list-link">' . ucfirst($t) . ' (<span id="tab-stat-productpicture-' . $s . '">-</span>)</a></li>';
}
$sub_tabs_productpicture_content .= '</ul>';
$sub_tabs_productpicture_content .= '</div>';
$main_link = '?open=designs-manage&collection=0&status=';
$content .= '<div id="mdl-search-draft" style="display:none;" align="center">';
$content .= '<h3 style="display:none;padding-bottom:10px;"></h3>';
$content .= '<table border="0" cellpadding="0" cellspacing="0">';
$content .= '<tr><td class="label">Draft ID</td><td class="field"><input type="text" class="input input-draft-id" style="width:70px;text-align:center;" onfocus="$(this).select();" /></td></tr>';
$content .= '<tr><td colspan="2"> </td></tr>';
$content .= '<tr><td colspan="2" align="center"><input type="button" value="Search" id="btn-search-draft" /> <input type="button" class="simplemodal-close" value="Cancel" /></td></tr>';