本文整理汇总了PHP中RSSFeed::showListForCentral方法的典型用法代码示例。如果您正苦于以下问题:PHP RSSFeed::showListForCentral方法的具体用法?PHP RSSFeed::showListForCentral怎么用?PHP RSSFeed::showListForCentral使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RSSFeed
的用法示例。
在下文中一共展示了RSSFeed::showListForCentral方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
if (Session::haveRight('ticket', CREATE)) {
echo "<tr class='noHover'><td class='top'>";
Ticket::showCentralCount(true);
echo "</td></tr>";
echo "<tr class='noHover'><td class='top'>";
Ticket::showCentralList(0, "survey", false);
echo "</td></tr>";
}
if (Session::haveRight("reminder_public", READ)) {
echo "<tr class='noHover'><td class='top'>";
Reminder::showListForCentral(false);
echo "</td></tr>";
}
if (Session::haveRight("rssfeed_public", READ)) {
echo "<tr class='noHover'><td class='top'>";
RSSFeed::showListForCentral(false);
echo "</td></tr>";
}
echo "</table></td>";
echo "<td class='top' width='50%'><br>";
echo "<table class='central'>";
// Show KB items
if (Session::haveRight('knowbase', KnowbaseItem::READFAQ)) {
echo "<tr class='noHover'><td class='top'>";
KnowbaseItem::showRecentPopular("popular");
echo "</td></tr>";
echo "<tr class='noHover'><td class='top'><br>";
KnowbaseItem::showRecentPopular("recent");
echo "</td></tr>";
echo "<tr class='noHover'><td class='top'><br>";
KnowbaseItem::showRecentPopular("lastupdate");
示例2: showRSSView
/**
* Show the central RSS view
*
* @since version 0.84
**/
static function showRSSView()
{
echo "<table class='tab_cadre_central'>";
echo "<tr class='noHover'><td class='top' width='50%' style='vertical-align:top !important;'>";
RSSFeed::showListForCentral();
echo "</td><td class='top' width='50%' style='vertical-align:top !important;'>";
if (RSSFeed::canView()) {
RSSFeed::showListForCentral(false);
} else {
echo " ";
}
echo "</td></tr>";
echo "</table>";
}
示例3: showRSSView
/**
* Show the central RSS view
*
* @since version 0.84
**/
static function showRSSView()
{
echo "<table class='tab_cadre_central'>";
echo "<tr><td class='top' width='50%'>";
RSSFeed::showListForCentral();
echo "</td><td class='top' width='50%'>";
if (RSSFeed::canView()) {
RSSFeed::showListForCentral(false);
} else {
echo " ";
}
echo "</td></tr>";
echo "</table>";
}
示例4: showRSSView
/**
* Show the central RSS view
*
* @since version 0.84
**/
static function showRSSView()
{
echo "<table class='tab_cadre_central'>";
echo "<tr><td class='top' width='50%'>";
RSSFeed::showListForCentral();
echo "</td><td class='top' width='50%'>";
if (Session::haveRight("rssfeed_public", "r")) {
RSSFeed::showListForCentral(false);
} else {
echo " ";
}
echo "</td></tr>";
echo "</table>";
}