當前位置: 首頁>>代碼示例>>PHP>>正文


PHP common::printRPN方法代碼示例

本文整理匯總了PHP中common::printRPN方法的典型用法代碼示例。如果您正苦於以下問題:PHP common::printRPN方法的具體用法?PHP common::printRPN怎麽用?PHP common::printRPN使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在common的用法示例。


在下文中一共展示了common::printRPN方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: elseif

    if (isset($times[$todo->end])) {
        echo ' ~ ' . $times[$todo->end];
    }
    ?>
    </td>
  </tr>  
</table>
<div class='a-center f-16px strong pb-10px'>
  <?php 
    if ($this->session->todoList) {
        $browseLink = $this->session->todoList;
    } elseif ($todo->account == $app->user->account) {
        $browseLink = $this->createLink('my', 'todo');
    } else {
        $browseLink = $this->createLink('user', 'todo', "account={$todo->account}");
    }
    common::printIcon('todo', 'finish', "id={$todo->id}", $todo, 'list', '', 'hiddenwin');
    if ($todo->account == $app->user->account) {
        common::printIcon('todo', 'edit', "todoID={$todo->id}");
        common::printIcon('todo', 'delete', "todoID={$todo->id}", '', 'button', '', 'hiddenwin');
    }
    common::printRPN($browseLink);
    ?>
</div>
<?php 
    $actionTheme = 'table';
    include '../../common/view/action.html.php';
} else {
    echo $lang->todo->thisIsPrivate;
}
include '../../common/view/footer.html.php';
開發者ID:laiello,項目名稱:zentaoms,代碼行數:31,代碼來源:view.html.php

示例2:

';
</script>

<div id='featurebar'>
  <div class='f-left'>
    <?php 
echo "<span id='bymoduleTab' onclick=\"browseByModule('{$browseType}')\"><a href='#'>" . $lang->testtask->byModule . "</a></span> ";
echo "<span id='allTab'>" . html::a($this->inlink('cases', "taskID={$taskID}&browseType=all&param=0"), $lang->testtask->allCases) . "</span>";
echo "<span id='assignedtomeTab'>" . html::a($this->inlink('cases', "taskID={$taskID}&browseType=assignedtome&param=0"), $lang->testtask->assignedToMe) . "</span>";
?>
  </div>
  <div class='f-right'>
    <?php 
common::printIcon('testtask', 'linkCase', "taskID={$task->id}");
common::printIcon('testcase', 'export', "productID={$productID}&orderBy=`case`_desc&taskID={$task->id}");
common::printRPN($this->session->testtaskList, '');
?>
  </div>
</div>

<form method='post' name='casesform'>
<table class='cont-lt1'>
  <tr valign='top'>
    <td class='side <?php 
echo $treeClass;
?>
'>
      <div class='box-title'><?php 
echo $productName;
?>
</div>
開發者ID:laiello,項目名稱:zentaoms,代碼行數:31,代碼來源:cases.html.php

示例3: ob_start

</div>
  <div>
    <?php 
$browseLink = $app->session->caseList != false ? $app->session->caseList : $this->createLink('testcase', 'browse', "productID={$case->product}");
if (!$case->deleted) {
    ob_start();
    common::printIcon('testtask', 'runCase', "runID=0&caseID={$case->id}&version={$case->currentVersion}");
    common::printIcon('testtask', 'results', "runID=0&caseID={$case->id}&version={$case->version}");
    common::printIcon('testcase', 'createBug', "product={$case->product}&extra=caseID={$case->id},version={$case->version},runID=", '', 'button', 'createBug');
    common::printDivider();
    common::printIcon('testcase', 'edit', "caseID={$case->id}");
    common::printCommentIcon('testcase');
    common::printIcon('testcase', 'create', "productID={$case->product}&moduleID={$case->module}&from=testcase&param={$case->id}", '', 'button', 'copy');
    common::printIcon('testcase', 'delete', "caseID={$case->id}", '', 'button', '', 'hiddenwin');
    common::printDivider();
    common::printRPN($browseLink, $preAndNext);
    $actionLinks = ob_get_contents();
    ob_clean();
    echo $actionLinks;
}
?>
  </div>
</div>

<table class='cont-rt5'>
  <tr valign='top'>
    <td>
      <fieldset>
        <legend><?php 
echo $lang->testcase->precondition;
?>
開發者ID:shshenpengfei,項目名稱:scrum_project_manage_system,代碼行數:31,代碼來源:view.html.php

示例4: inlink

        <div class='content'><?php 
echo $release->desc;
?>
</div>
      </fieldset>
      <?php 
include '../../common/view/action.html.php';
?>
      <div class='a-center f-16px pb-10px'>
      <?php 
$browseLink = $this->session->releaseList ? $this->session->releaseList : inlink('browse', "productID={$release->product}");
if (!$release->deleted) {
    common::printIcon('release', 'edit', "releaseID={$release->id}");
    common::printIcon('release', 'delete', "releaseID={$release->id}", '', 'button', '', 'hiddenwin');
}
echo common::printRPN($browseLink, $lang->goback);
?>
      </div>
      <table class='table-1 fixed'>
        <caption class='caption-t1'>
          <?php 
echo $lang->release->stories;
?>
          <div class='f-right'><?php 
if (count($stories)) {
    common::printIcon('release', 'export', 'type=story', '', 'button', '', '', "export");
}
?>
</div>
        </caption>
        <tr>
開發者ID:laiello,項目名稱:zentaoms,代碼行數:31,代碼來源:view.html.php


注:本文中的common::printRPN方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。