本文整理汇总了PHP中common::printOrderLink方法的典型用法代码示例。如果您正苦于以下问题:PHP common::printOrderLink方法的具体用法?PHP common::printOrderLink怎么用?PHP common::printOrderLink使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类common
的用法示例。
在下文中一共展示了common::printOrderLink方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</th>
<th class='w-hour'> <?php
common::printOrderLink('left', $orderBy, $vars, $lang->task->leftAB);
?>
</th>
<th class='w-date'> <?php
common::printOrderLink('deadline', $orderBy, $vars, $lang->task->deadlineAB);
?>
</th>
<th class='w-status'><?php
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
<th class='w-user'> <?php
common::printOrderLink('openedBy', $orderBy, $vars, $lang->openedByAB);
?>
</th>
<th class='w-140px'> <?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
$canBatchEdit = common::hasPriv('task', 'batchEdit');
?>
<?php
$canBatchClose = (common::hasPriv('task', 'batchClose') and $type != 'closedBy');
?>
示例2:
<th class='w-35px'> <?php
common::printOrderLink('estimate', $orderBy, $vars, $lang->task->estimateAB);
?>
</th>
<th class='w-50px'> <?php
common::printOrderLink('consumed', $orderBy, $vars, $lang->task->consumedAB);
?>
</th>
<th class='w-40px nobr'> <?php
common::printOrderLink('left', $orderBy, $vars, $lang->task->leftAB);
?>
</th>
<?php
if (1) {
print '<th>' and common::printOrderLink('story', $orderBy, $vars, $lang->task->story) and print '</th>';
}
?>
<th class='w-150px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($tasks as $task) {
?>
<?php
$class = $task->assignedTo == $app->user->account ? 'style=color:red' : '';
?>
示例3:
?>
</th>
<th class='w-300px {sorter:false}'><?php
echo $lang->project->desc;
?>
</th>
<th class='w-90px'><?php
common::printOrderLink('begin', $orderBy, $vars, $lang->project->begin);
?>
</th>
<th class='w-90px'><?php
common::printOrderLink('end', $orderBy, $vars, $lang->project->end);
?>
</th>
<th class='w-status'><?php
common::printOrderLink('status', $orderBy, $vars, $lang->project->status);
?>
</th>
<th class='w-80px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<?php
$canBatchEdit = common::hasPriv('project', 'batchEdit');
?>
<tbody class='sortable' id='projectTableList'>
<?php
foreach ($projectStats as $project) {
示例4: foreach
<?php
$_GET['onlybody'] = 'no';
?>
<table class='table-1 colored tablesorter datatable' id='bugList'>
<?php
$vars = "productID={$productID}&browseType={$browseType}¶m={$param}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";
?>
<thead>
<tr class='colhead'>
<?php
foreach ($customFields as $fieldName) {
?>
<th><nobr><?php
common::printOrderLink($fieldName, $orderBy, $vars, $lang->bug->{$fieldName});
?>
</nobr></th>
<?php
}
?>
<th class='w-70px {sorter:false}'><nobr><?php
echo $lang->actions;
?>
</nobr></th>
</tr>
</thead>
<tbody>
<?php
foreach ($bugs as $bug) {
?>
<?php
示例5:
?>
</th>
<th> <?php
common::printOrderLink('work', $orderBy, $vars, $lang->effort->work);
?>
</th>
<th class='w-80px'><?php
common::printOrderLink('consumed', $orderBy, $vars, $lang->effort->consumed);
?>
</th>
<th class='w-80px'><?php
common::printOrderLink('left', $orderBy, $vars, $lang->effort->left);
?>
</th>
<th width='350'> <?php
common::printOrderLink('objectType', $orderBy, $vars, $lang->effort->objectType);
?>
</th>
</tr>
</thead>
<tbody>
<?php
$times = 0;
?>
<?php
foreach ($efforts as $effort) {
?>
<tr class='a-center'>
<td class='a-center'>
<input type='checkbox' name='effortIDList[]' value='<?php
echo $effort->id;
示例6: sprintf
?>
</th>
<th> <?php
common::printOrderLink('build', $orderBy, $vars, $lang->testtask->build);
?>
</th>
<th class='w-80px'><?php
common::printOrderLink('begin', $orderBy, $vars, $lang->testtask->begin);
?>
</th>
<th class='w-80px'><?php
common::printOrderLink('end', $orderBy, $vars, $lang->testtask->end);
?>
</th>
<th class='w-50px'><?php
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
<th class='w-100px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($tasks as $task) {
?>
<tr class='text-center'>
<td><?php
echo html::a($this->createLink('testtask', 'view', "taskID={$task->id}"), sprintf('%03d', $task->id));
示例7:
?>
</th>
<th class='w-user'> <?php
common::printOrderLink('actor', $orderBy, $vars, $lang->action->actor);
?>
</th>
<th class='w-100px'><?php
common::printOrderLink('action', $orderBy, $vars, $lang->action->action);
?>
</th>
<th class='w-80px'> <?php
common::printOrderLink('objectType', $orderBy, $vars, $lang->action->objectType);
?>
</th>
<th class='w-id'> <?php
common::printOrderLink('id', $orderBy, $vars, $lang->idAB);
?>
</th>
<th><?php
echo $lang->action->objectName;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($actions as $action) {
?>
<?php
$module = $action->objectType == 'case' ? 'testcase' : $action->objectType;
?>
示例8:
?>
</th>
<th> <?php
common::printOrderLink('assignedTo', $orderBy, $vars, $lang->assignedToAB);
?>
</th>
<th class='w-hour'><?php
common::printOrderLink('estimate', $orderBy, $vars, $lang->story->estimateAB);
?>
</th>
<th> <?php
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
<th> <?php
common::printOrderLink('stage', $orderBy, $vars, $lang->story->stageAB);
?>
</th>
<th class='w-140px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($stories as $key => $story) {
?>
<?php
$viewLink = $this->createLink('story', 'view', "storyID={$story->id}");
$canView = common::hasPriv('story', 'view');
示例9:
?>
</th>
<th class='w-user'> <?php
common::printOrderLink('duty', $orderBy, $vars, $lang->asset->duty);
?>
</th>
<th class='w-60px'> <?php
common::printOrderLink('codeversion', $orderBy, $vars, $lang->asset->codeversion);
?>
</th>
<th class='w-60px'> <?php
common::printOrderLink('module', $orderBy, $vars, $lang->asset->module);
?>
</th>
<th class='w-60px'> <?php
common::printOrderLink('use', $orderBy, $vars, $lang->asset->use);
?>
</th>
<?php
}
?>
</tr>
</thead>
<tbody>
<?php
foreach ($assets as $asset) {
?>
<?php
$classduty = $asset->duty == $app->user->account ? 'style=color:red' : '';
?>
<?php
示例10:
?>
</th>
<?php
}
?>
<th class='w-user'><?php
common::printOrderLink('lastEditedBy', $orderBy, $vars, $lang->info->lastEditedBy);
?>
</th>
<?php
if ($this->cookie->windowWidth >= $this->config->wideSize) {
?>
<th class='w-date'> <?php
common::printOrderLink('lastEditedDate', $orderBy, $vars, $lang->info->lastEditedDate);
?>
</th>
<?php
}
?>
<th class='w-70px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($infos as $info) {
示例11:
?>
<th class='w-35px'> <?php
common::printOrderLink('estimate', $orderBy, $vars, $lang->task->estimateAB);
?>
</th>
<th class='w-40px'> <?php
common::printOrderLink('consumed', $orderBy, $vars, $lang->task->consumedAB);
?>
</th>
<th class='w-40px'> <?php
common::printOrderLink('left', $orderBy, $vars, $lang->task->leftAB);
?>
</th>
<th><?php
common::printOrderLink('story', $orderBy, $vars, $lang->task->story);
?>
</th>
<th class='w-100px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<?php
$taskSum = $statusWait = $statusDone = $statusDoing = $statusClosed = $statusCancel = 0;
$totalEstimate = $totalConsumed = $totalLeft = 0.0;
?>
<tbody>
<?php
$estimate_sum = 0;
示例12: foreach
<?php $vars = "libID=$libID&module=$moduleID&productID=$productID&projectID=$projectID&browseType=$browseType¶m=$param&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";?>
<th class='w-id'> <?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?></th>
<!--
<th> <?php common::printOrderLink('title', $orderBy, $vars, $lang->doc->title);?></th>
<th class='w-100px'><?php common::printOrderLink('type', $orderBy, $vars, $lang->doc->type);?></th>
-->
<!-- 修改 2015-09-20 -->
<th class='w-100px'><?php common::printOrderLink('project_name', $orderBy, $vars, $lang->doc->project_name);?></th>
<th class='w-100px'><?php common::printOrderLink('organization', $orderBy, $vars, $lang->doc->organization);?></th>
<th class='w-100px'><?php common::printOrderLink('money', $orderBy, $vars, $lang->doc->money);?></th>
<th class='w-100px'><?php common::printOrderLink('day', $orderBy, $vars, $lang->doc->day);?></th>
<th class='w-100px'><?php common::printOrderLink('info', $orderBy, $vars, $lang->doc->info);?></th>
<th class='w-100px'><?php common::printOrderLink('remark', $orderBy, $vars, $lang->doc->remark);?></th>
<th class='w-100px'><?php common::printOrderLink('addedBy', $orderBy, $vars, $lang->doc->addedBy);?></th>
<th class='w-120px'><?php common::printOrderLink('addedDate', $orderBy, $vars, $lang->doc->addedDate);?></th>
<!--
<th class='w-120px'><?php echo $lang->doc->files;?></th>
-->
<th class='w-100px {sorter:false}'><?php echo $lang->actions;?></th>
</tr>
</thead>
<tbody>
<?php foreach($docs as $key => $doc):?>
<?php
$viewLink = $this->createLink('doc', 'view', "docID=$doc->id");
$canView = common::hasPriv('doc', 'view');
?>
<tr class='text-center'>
<td><?php if($canView) echo html::a($viewLink, sprintf('%03d', $doc->id)); else printf('%03d', $doc->id);?></td>
<!--
示例13:
?>
</th>
<th class='w-status'><?php
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
<!-- <th class='w-user'><?php
common::printOrderLink('user', $orderBy, $vars, $lang->team->role);
?>
</th> -->
<th class='w-date'><?php
common::printOrderLink('date', $orderBy, $vars, $lang->team->join);
?>
</th>
<th class='w-110px'><?php
common::printOrderLink('hours', $orderBy, $vars, $lang->team->hours);
?>
</th>
<th class='w-80px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($projects as $project) {
?>
<?php
$projectLink = $this->createLink('sprint', 'index', "projectID={$project->id}");
?>
示例14:
?>
</th>
<th class='w-user'><?php
common::printOrderLink('resolvedBy', $orderBy, $vars, $lang->bug->resolvedByAB);
?>
</th>
<th class='w-resolution'><?php
common::printOrderLink('resolution', $orderBy, $vars, $lang->bug->resolutionAB);
?>
</th>
<?php
if ($this->cookie->windowWidth >= $this->config->wideSize) {
?>
<th class='w-date'> <?php
common::printOrderLink('resolvedDate', $orderBy, $vars, $lang->bug->resolvedDateAB);
?>
</th>
<?php
}
?>
<th class='w-100px {sorter:false}'><?php
echo $lang->actions;
?>
</th>
<?php
}
?>
</tr>
</thead>
示例15:
?>
</th>
<th class='w-id'> <?php
common::printOrderLink('objectID', $orderBy, $vars, $lang->idAB);
?>
</th>
<th><?php
echo $lang->action->objectName;
?>
</th>
<th class='w-100px'><?php
common::printOrderLink('actor', $orderBy, $vars, $lang->action->actor);
?>
</th>
<th class='w-150px'><?php
common::printOrderLink('date', $orderBy, $vars, $lang->action->date);
?>
</th>
<th class='w-100px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($trashes as $action) {
?>
<?php
$module = $action->objectType == 'case' ? 'testcase' : $action->objectType;
?>