예제 #1
0
파일: Eyeem.php 프로젝트: eyeem/php-wrapper
 public function getPopularPhotos($params = array())
 {
     $collection = new Eyeem_Collection();
     $collection->setType('photo')->setName('photos')->setEndpoint('/photos/popular')->setEyeem($this)->setQueryParameters($params);
     return $collection;
 }
예제 #2
0
 public function flush()
 {
     parent::flush();
     $this->getParentRessource()->flushCollection($this->name);
 }