本文整理汇总了PHP中Feed::getFeedCount方法的典型用法代码示例。如果您正苦于以下问题:PHP Feed::getFeedCount方法的具体用法?PHP Feed::getFeedCount怎么用?PHP Feed::getFeedCount使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Feed
的用法示例。
在下文中一共展示了Feed::getFeedCount方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _t
}
?>
</ul>
</div>
<div class="information">
<span class="name"><?php echo _t("전체글");?></span> <span class="sep">|</span> <span class="count"><?php echo $feedItemCount;?></span>개 <span class="name"><?php echo _t('마지막 업데이트');?></span> <span class="sep">|</span> <span class="date"><?php echo empty($feedItemUpdate)?'':date('y.m.d H:i:s', $feedItemUpdate);?> (<?php echo $feedItemUpdateText;?>)</span>
</div>
</div>
<!-- 최근 등록된 블로그.. -->
<?php
if($is_admin) {
$feeds = Feed::getRecentFeeds(10);
$feedCount = Feed::getFeedCount('WHERE i.visibility="y"');
} else {
$feeds = Feed::getRecentFeedsByOwner(getLoggedId(), 10);
$feedCount = Feed::getFeedCount('WHERE i.owner = ' . getLoggedId() . ' AND i.visibility="y"');
}
?>
<div class="contents_in_item2">
<div class="more_wrap">
<div class="title"><?php echo _t('최근 등록된 블로그');?></div>
<div class="more">
<a href="<?php echo $service['path'];?>/admin/blog/list"><?php echo _t('더보기..');?></a>
</div>
<div class="clear"></div>
</div>
<div class="line"></div>
<div class="data">
<ul>
<?php
if(count($feeds) > 0) {
示例2: empty
$skin->replace('description', $event->on('Text.description', UTF8::clear($config->description)));
$skin->replace('base_url', empty($service['path'])?'/':$servicePath.'/');
$skin->replace('index_url', $servicePath);
$skin->replace('rss_url', $servicePath.'/rss');
$skin->replace('focus_rss_url', $servicePath.'/rss/focus');
$skin->replace('base_domain', $_SERVER['HTTP_HOST'].$servicePath);
$skin->replace('bloglounge_name', BLOGLOUNGE);
$skin->replace('bloglounge_version', BLOGLOUNGE_NAME);
$skin->replace('random_blog', $service['path'].'/random');
$skin->replace('position', empty($accessInfo['controller'])?'index':$accessInfo['controller']);
// ** 갯수 정보
$skin->replace('feed_count', Feed::getFeedCount());
$skin->replace('feeditem_count', FeedItem::getFeedItemCount());
$skin->replace('tag_count', Tag::getTagCount());
// *** 로고
$s_logo = $skin->cutSkinTag('logo_image');
$s_logo = $skin->parseTag('logo_url', $servicePath.'/cache/logo/'.$config->logo, $s_logo);
$skin->dress('logo_image', $s_logo);
if(!empty($config->logo) && file_exists(ROOT.'/cache/logo/'.$config->logo)) {
$skin->replace('logo_image_exist', 'logo_image_exist');
} else {
$skin->replace('logo_image_exist', 'logo_image_nonexistence');
}
$s_logo = $skin->cutSkinTag('logo_text');