本文整理汇总了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';
示例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¶m=0"), $lang->testtask->allCases) . "</span>";
echo "<span id='assignedtomeTab'>" . html::a($this->inlink('cases', "taskID={$taskID}&browseType=assignedtome¶m=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>
示例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¶m={$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;
?>
示例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>