Beispiel #1
0
 /**
  * Output product description as an ATOM feed
  */
 public function toATOM()
 {
     /*
      * Initialize ATOM feed
      */
     $atomFeed = new RestoATOMFeed($this->featureArray['id'], $this->featureArray['properties']['title'], 'resto feature');
     /*
      * Entry for feature
      */
     $atomFeed->addEntry($this->featureArray, $this->context);
     /*
      * Return ATOM result
      */
     return $atomFeed->toString();
 }