Пример #1
0
 /**
  * @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;
 }
Пример #2
0
 /**
  * @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;
 }