本文整理汇总了PHP中box::clearContent方法的典型用法代码示例。如果您正苦于以下问题:PHP box::clearContent方法的具体用法?PHP box::clearContent怎么用?PHP box::clearContent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类box
的用法示例。
在下文中一共展示了box::clearContent方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
while ($element = current($list)) {
$requestInst->activate($element);
$projectInst = new project($requestInst->projectId);
if ($loginInst->id == $projectInst->managerId) {
$boxInst->addContent("<tr><td valign=top class=" . $requestInst->getPriorityStyle() . ">" . $requestInst->getPriorityName() . "</td>");
$boxInst->addContent("<td valign=top class=" . $requestInst->getTypeStyle() . ">" . $requestInst->getTypeName() . "</td>");
$boxInst->addContent("<td class=list><a href=\"javascript:openwindow('" . $toolInst->encodeUrl("index.php?content=requestdetails.php&view=details&requestid=" . $element) . "',width='500',height='500')\" title=\"" . $lang['common_showDetailsForThisRequest'] . "\">");
$boxInst->addContent(substr($projectInst->name . ": " . $requestInst->subject, 0, 50));
$boxInst->addContent("...</a></td></tr>");
$count++;
}
next($list);
}
$boxInst->addContent("</table>");
if ($count == 0) {
$boxInst->clearContent();
$boxInst->addContent($lang['home_unassignedRequestsNoMatches']);
}
$boxInst->get();
}
}
?>
</td>
</tr>
<tr>
<td valign="bottom">
<h2><?php
echo $lang['home_interested_in_pmtool'];
?>
</h2>
<?php