當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。