当前位置: 首页>>代码示例>>PHP>>正文


PHP project::getStatusName方法代码示例

本文整理汇总了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";
开发者ID:pmtool,项目名称:pmtool,代码行数:31,代码来源:projectdetails.php

示例2: while

      </select></td>
    </tr>
    <tr>
      <td><?php 
    echo $lang['common_status'];
    ?>
:&nbsp;</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'];
    ?>
:&nbsp;</td>
      <td><select name="priorityid">
        <?php 
    $list = $projectInst->getPriorityList();
    while ($element = current($list)) {
        $selected = "";
开发者ID:pmtool,项目名称:pmtool,代码行数:31,代码来源:projects.php

示例3: user

        if ($projectInst->rate) {
            echo "<td class=list>" . $toolInst->formatCurrency($projectInst->rate) . "</td>\n";
        } else {
            echo "<td class=list>&nbsp;</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>&nbsp;</td>\n";
        }
        echo "<td class=list>" . $projectInst->getStatusName() . "</td></tr>\n";
        next($list);
    }
    echo "</table>\n";
}
?>
</div>
&nbsp;

<?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
开发者ID:pmtool,项目名称:pmtool,代码行数:31,代码来源:customerdetails.php


注:本文中的project::getStatusName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。