本文整理汇总了PHP中project::getStatusName方法的典型用法代码示例。如果您正苦于以下问题:PHP project::getStatusName方法的具体用法?PHP project::getStatusName怎么用?PHP project::getStatusName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类project
的用法示例。
在下文中一共展示了project::getStatusName方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</td>
<td class="list"><span class="<?php
echo $projectInst->getPriorityStyle();
?>
"><?php
echo $projectInst->getPriorityName();
?>
</span></td>
</tr><tr>
<td class="list"><?php
echo $lang['common_status'];
?>
</td>
<td class="list"><?php
echo $projectInst->getStatusName();
?>
</td>
</tr>
</table>
<?php
# order
$order = "priority";
if (tool::secureGet('order')) {
$order = tool::secureGet('order');
}
if (tool::secureGet('desc') == "DESC") {
$desc = "";
} else {
$desc = "DESC";
示例2: while
</select></td>
</tr>
<tr>
<td><?php
echo $lang['common_status'];
?>
: </td>
<td><select name="statusid">
<?php
$list = $projectInst->getStatusList();
while ($element = current($list)) {
$selected = "";
if ($element == $projectInst->statusId) {
$selected = "selected";
}
echo "<option " . $selected . " value=\"" . $element . "\">" . $projectInst->getStatusName($element) . "\n";
next($list);
}
?>
</select></td>
</tr>
<tr>
<td><?php
echo $lang['common_priority'];
?>
: </td>
<td><select name="priorityid">
<?php
$list = $projectInst->getPriorityList();
while ($element = current($list)) {
$selected = "";
示例3: user
if ($projectInst->rate) {
echo "<td class=list>" . $toolInst->formatCurrency($projectInst->rate) . "</td>\n";
} else {
echo "<td class=list> </td>\n";
}
if ($projectInst->managerId) {
$userInst = new user($projectInst->managerId);
if ($userInst->email) {
echo "<td class=list><a href=\"mailto:" . $userInst->email . "\">" . $userInst->name . "</a></td>\n";
} else {
echo "<td class=list>" . $userInst->name . "</td>\n";
}
} else {
echo "<td class=list> </td>\n";
}
echo "<td class=list>" . $projectInst->getStatusName() . "</td></tr>\n";
next($list);
}
echo "</table>\n";
}
?>
</div>
<?php
/***************************************************************************
* $Log: customerdetails.php,v $
* Revision 1.3 2003/11/18 00:55:15 willuhn
* *** empty log message ***
*
* Revision 1.2 2003/09/27 18:23:44 willuhn