本文整理匯總了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'];