showDescription() 공개 메소드

public showDescription ( $bool )
예제 #1
0
파일: RssPiwik.php 프로젝트: piwik/piwik
 public function render()
 {
     try {
         $rss = new RssRenderer('http://feeds.feedburner.com/Piwik');
         $rss->showDescription(true);
         return $rss->get();
     } catch (\Exception $e) {
         return $this->error($e);
     }
 }
예제 #2
0
 public function render()
 {
     try {
         $rss = new RssRenderer('http://feeds.feedburner.com/PiwikReleases');
         $rss->setCountPosts(1);
         $rss->showDescription(true);
         $rss->showContent(false);
         return $rss->get();
     } catch (\Exception $e) {
         return $this->error($e);
     }
 }