本文整理匯總了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>';