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