/** * @return Comment[] */ public function getLatestComments() { return NewsComment::getComments($this->commentUrl); }
/** @return String **/ public function getComments() { if (empty($this->comments)) { $xh = $this->getFullNewsXML(); $this->comments = NewsComment::getComments($xh->getHrefValue(COMMENTS)); } return $this->comments; }