/** * @return array * @access public */ public function getComments() { if ($this->comments == null) { Picasa_Logger::getLogger()->logIfEnabled("Comments was null, requesting from Picasa..."); $picasa = new Picasa(null, null, null, $this->contextArray); $this->comments = $picasa->getCommentsByUsername($this->picasaAuthor->user, $this->idnum, 1000, 1, $this->rights); } return $this->comments; }
/** * @return array * @access public */ public function getComments() { if ($this->comments == null) { $picasa = new Picasa(null, null, null, $this->contextArray); $this->comments = $picasa->getCommentsByUsername($this->picasaAuthor->user, $this->idnum, 1000, 1, $this->rights); } return $this->comments; }