本文整理汇总了PHP中Type::rNext方法的典型用法代码示例。如果您正苦于以下问题:PHP Type::rNext方法的具体用法?PHP Type::rNext怎么用?PHP Type::rNext使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Type
的用法示例。
在下文中一共展示了Type::rNext方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: search_type
function search_type($str)
{
global $cp;
$objTypeList = new Type();
$objTypeList->addWhere("type LIKE '" . $str . "%'");
$objTypeList->loadList();
if ($objTypeList->rMore()) {
while ($objType = $objTypeList->rNext()) {
$cur =& $cp->add_node('type');
$cur->set_data($objType->type);
}
}
return;
}
示例2: urlencode
<li><a href="?show=future" accesskey="f"><?php
echo $arrLanguageMenu['future_queues'];
?>
</a></li>
<li><a href="?show=past" accesskey="p"><?php
echo $arrLanguageMenu['past_queues'];
?>
</a></li>
<li><a href="?show=all" accesskey="a"><?php
echo $arrLanguageMenu['all_queues'];
?>
</a></li>
</ul>
</li>
<?php
while ($objProj = $objTypeList->rNext()) {
$pLink = 'index.php?sType=' . urlencode($objProj->type);
?>
<li class="more"><a href="<?php
echo $pLink;
?>
"><?php
$objProj->p('type');
?>
</a>
<ul class="level2">
<li><a href="<?php
echo Tzn::concatUrl($pLink, 'show=future');
?>
"><?php
echo $arrLanguageMenu['future_queues'];
示例3: reconfirm
" onClick="return reconfirm('<?php
echo $arrLanguageMessage['purge_all_confirm'];
?>
')"><img src="images/del.png" width="20" height="16" alt="del" border="0" /></a> <a href="type.php?mode=deleteAll" title="<?php
echo $arrLanguageMessage['delete_all'];
?>
" onClick="return reconfirm('<?php
echo $arrLanguageMessage['delete_all_confirm'];
?>
')"><img src="images/dex.png" width="20" height="16" alt="del" border="0" /></a></th>
</tr>
</thead>
<tbody>
<?php
if ($objType->rMore()) {
while ($objItem = $objType->rNext()) {
?>
<tr>
<td><?php
$objItem->p('type');
?>
</td>
<td align="right"><?php
$objItem->p('queueCount');
?>
</td>
<td align="center"><a href="type.php?mode=purge&type=<?php
echo urlencode($objItem->type);
?>
" title="<?php
echo $arrLanguageMessage['purge_one'];