本文整理汇总了PHP中commonModel::printOrderLink方法的典型用法代码示例。如果您正苦于以下问题:PHP commonModel::printOrderLink方法的具体用法?PHP commonModel::printOrderLink怎么用?PHP commonModel::printOrderLink使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类commonModel
的用法示例。
在下文中一共展示了commonModel::printOrderLink方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</th>
<th><?php
commonModel::printOrderLink('trader', $orderBy, $vars, $lang->trade->trader);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('category', $orderBy, $vars, $lang->trade->category);
?>
</th>
<th class='w-120px text-right'><?php
commonModel::printOrderLink('money', $orderBy, $vars, $lang->trade->money);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('handlers', $orderBy, $vars, $lang->trade->handlers);
?>
</th>
<th class='w-200px visible-lg'><?php
echo $lang->trade->desc;
?>
</th>
<th class='w-110px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($trades as $trade) {
示例2:
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('assignedTo', $orderBy, $vars, $lang->todo->assignedTo);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('begin', $orderBy, $vars, $lang->todo->begin);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('end', $orderBy, $vars, $lang->todo->end);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('status', $orderBy, $vars, $lang->todo->status);
?>
</th>
<th class='w-240px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($todos as $todo) {
?>
<tr class='text-center'>
<td class='text-left'><label class='checkbox-inline'><input type='checkbox' name='todoIDList[]' value='<?php
echo $todo->id;
示例3:
?>
</th>
<th class='w-120px'><?php
commonModel::printOrderLink('mobile', $orderBy, $vars, $lang->contact->mobile);
?>
</th>
<th class='w-200px'><?php
commonModel::printOrderLink('email', $orderBy, $vars, $lang->contact->email);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('qq', $orderBy, $vars, $lang->contact->qq);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('weixin', $orderBy, $vars, $lang->contact->weixin);
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($contacts as $contact) {
?>
<tr class='text-center'>
<td><?php
echo $contact->id;
?>
</td>
<td><?php
echo $contact->realname;
示例4: foreach
?>
</th>
<th class='w-150px'><?php
commonModel::printOrderLink('begin', $orderBy, $vars, $lang->leave->end);
?>
</th>
<th><?php
echo $lang->leave->desc;
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('status', $orderBy, $vars, $lang->leave->status);
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('reviewedBy', $orderBy, $vars, $lang->leave->reviewedBy);
?>
</th>
<th class='w-150px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<?php
foreach ($leaveList as $leave) {
?>
<tr>
<td><?php
echo $leave->id;
?>
示例5:
?>
</th>
<th class='w-60px'><?php
commonModel::printOrderLink('views', $orderBy, $vars, $lang->thread->views);
?>
</th>
<th class='w-60px'><?php
commonModel::printOrderLink('replies', $orderBy, $vars, $lang->thread->replies);
?>
</th>
<th class='w-200px'><?php
commonModel::printOrderLink('repliedDate', $orderBy, $vars, $lang->thread->lastReply);
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('hidden', $orderBy, $vars, $lang->thread->status);
?>
</th>
<th class='w-120px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<?php
}
?>
<tbody>
<?php
foreach ($threads as $thread) {
?>
示例6:
$vars = "mode={$mode}&orderBy=%s&begin={$begin}&end={$end}";
?>
<th class='text-center'><?php
echo $lang->stat->page->url;
?>
</th>
<th class='w-100px'> <?php
commonModel::printOrderLink('pv', $orderBy, $vars, $lang->stat->pv);
?>
</th>
<th class='w-100px'> <?php
commonModel::printOrderLink('uv', $orderBy, $vars, $lang->stat->uv);
?>
</th>
<th class='w-100px'> <?php
commonModel::printOrderLink('ip', $orderBy, $vars, $lang->stat->ipCount);
?>
</th>
</tr>
</thead>
<?php
$i = 0;
?>
<?php
foreach ($pages as $page) {
?>
<?php
$i++;
?>
<tr>
<td>
示例7:
?>
</th>
<th class='w-60px'> <?php
commonModel::printOrderLink('gender', $orderBy, $vars, $lang->contact->gender);
?>
</th>
<th class='w-200px text-left'><?php
commonModel::printOrderLink('phone', $orderBy, $vars, $lang->contact->phone . $lang->slash . $lang->contact->mobile);
?>
</th>
<th class='w-200px'><?php
commonModel::printOrderLink('email', $orderBy, $vars, $lang->contact->email);
?>
</th>
<th class='w-100px visible-lg'><?php
commonModel::printOrderLink('qq', $orderBy, $vars, $lang->contact->qq);
?>
</th>
<th class='w-120px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($contacts as $contact) {
?>
<tr class='text-center'>
<td><?php
echo $contact->id;
示例8:
?>
</th>
<th class='w-120px'> <?php
commonModel::printOrderLink('actor', $orderBy, $vars, $lang->action->actor);
?>
</th>
<th class='w-100px'><?php
commonModel::printOrderLink('action', $orderBy, $vars, $lang->action->action);
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('objectType', $orderBy, $vars, $lang->action->objectType);
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('id', $orderBy, $vars, $lang->action->actionID);
?>
</th>
<th><?php
echo $lang->action->objectName;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($actions as $action) {
?>
<?php
if ($action->appName == 'sys') {
$action->appName = 'superadmin';
示例9: inlink
?>
</th>
<th class='w-100px visible-lg'><?php
commonModel::printOrderLink('createdDate', $orderBy, $vars, $lang->purchase->createdDate);
?>
</th>
<th class='w-80px'> <?php
commonModel::printOrderLink('return', $orderBy, $vars, $lang->purchase->return);
?>
</th>
<th class='w-80px'> <?php
commonModel::printOrderLink('delivery', $orderBy, $vars, $lang->purchase->delivery);
?>
</th>
<th class='w-60px'> <?php
commonModel::printOrderLink('status', $orderBy, $vars, $lang->purchase->status);
?>
</th>
<th class='w-210px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($purchases as $purchase) {
?>
<tr class='text-center' data-url='<?php
echo inlink('view', "purchaseID={$purchase->id}");
?>
示例10:
<?php
}
?>
<th class='text-center w-160px'><?php
commonModel::printOrderLink('addedDate', $orderBy, $vars, $lang->article->addedDate);
?>
</th>
<th class='text-center w-70px'><?php
commonModel::printOrderLink('views', $orderBy, $vars, $lang->article->views);
?>
</th>
<?php
if ($type != 'page' and commonModel::isAvailable('contribution')) {
?>
<th class='text-center w-70px'> <?php
commonModel::printOrderLink('contribution', $orderBy, $vars, $lang->article->status);
?>
</th>
<?php
}
?>
<?php
$actionClass = $type == 'page' ? 'w-220px' : 'w-260px';
?>
<th class="text-center <?php
echo $actionClass;
?>
"><?php
echo $lang->actions;
?>
</th>
示例11:
?>
</th>
<th class='w-80px visible-lg'><?php
commonModel::printOrderLink('visits', $orderBy, $vars, $lang->user->visits);
?>
</th>
<th class='w-130px'><?php
commonModel::printOrderLink('last', $orderBy, $vars, $lang->user->last);
?>
</th>
<th class='w-70px'><?php
commonModel::printOrderLink('ip', $orderBy, $vars, $lang->user->ip);
?>
</th>
<th class='w-60px'><?php
commonModel::printOrderLink('locked', $orderBy, $vars, $lang->user->status);
?>
</th>
<th class='w-100px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
<?php
foreach ($users as $user) {
?>
<tr class='text-center'>
<td><?php
echo $user->id;
示例12:
<?php
}
?>
<th class='text-center w-160px'><?php
commonModel::printOrderLink('addedDate', $orderBy, $vars, $lang->zhaopin->addedDate);
?>
</th>
<th class='text-center w-70px'><?php
commonModel::printOrderLink('views', $orderBy, $vars, $lang->zhaopin->views);
?>
</th>
<?php
if ($type != 'page' and commonModel::isAvailable('contribution')) {
?>
<th class='text-center w-70px'> <?php
commonModel::printOrderLink('contribution', $orderBy, $vars, $lang->zhaopin->status);
?>
</th>
<?php
}
?>
<?php
$actionClass = $type == 'page' ? 'w-220px' : 'w-260px';
?>
<th class="text-center <?php
echo $actionClass;
?>
"><?php
echo $lang->actions;
?>
</th>
示例13:
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('createdDate', $orderBy, $vars, $lang->refund->createdDate);
?>
</th>
<th class='w-150px'><?php
commonModel::printOrderLink('firstReviewer', $orderBy, $vars, $lang->refund->reviewer);
?>
</th>
<th class='w-90px'><?php
commonModel::printOrderLink('refundBy', $orderBy, $vars, $lang->refund->refundBy);
?>
</th>
<th class='w-80px'><?php
commonModel::printOrderLink('refundDate', $orderBy, $vars, $lang->refund->refundDate);
?>
</th>
<?php
if ($mode == 'personal') {
?>
<th class='w-130px'><?php
echo $lang->actions;
?>
</th>
<?php
} else {
?>
<th class='w-80px'><?php
echo $lang->actions;
?>
示例14:
?>
</th>
<th class='text-center w-200px'><?php
commonModel::printOrderLink('category', $orderBy, $vars, $lang->article->category);
?>
</th>
<th class='text-center w-160px'><?php
commonModel::printOrderLink('editedDate', $orderBy, $vars, $lang->article->submissionTime);
?>
</th>
<th class='text-center w-160px'><?php
commonModel::printOrderLink('contribution', $orderBy, $vars, $lang->article->status);
?>
</th>
<th class='text-center w-70px'><?php
commonModel::printOrderLink('views', $orderBy, $vars, $lang->article->views);
?>
</th>
<?php
$actionClass = 'w-260px';
?>
<th class="text-center <?php
echo $actionClass;
?>
"><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<tbody>
示例15:
?>
</th>
<th class='w-80px'> <?php
commonModel::printOrderLink('assignedTo', $orderBy, $vars, $lang->task->assignedTo);
?>
</th>
<th class='w-100px visible-lg'><?php
commonModel::printOrderLink('createdDate', $orderBy, $vars, $lang->task->createdDate);
?>
</th>
<th class='w-90px visible-lg'> <?php
commonModel::printOrderLink('consumed', $orderBy, $vars, $lang->task->consumedAB . $lang->task->lblHour);
?>
</th>
<th class='w-110px visible-lg'> <?php
commonModel::printOrderLink('left', $orderBy, $vars, $lang->task->left . $lang->task->lblHour);
?>
</th>
<th class='w-240px'><?php
echo $lang->actions;
?>
</th>
</tr>
</thead>
<?php
$i = 0;
?>
<?php
foreach ($tasks as $groupKey => $groupTasks) {
?>
<?php