Exemplo n.º 1
0
 public function nbFeed()
 {
     if ($this->nbFeed < 0) {
         $catDAO = new FreshRSS_CategoryDAO();
         $this->nbFeed = $catDAO->countFeed($this->id());
     }
     return $this->nbFeed;
 }