public function GET_action()
 {
     //Create a new response feed
     $feed = new KT_atom_ResponseFeed_GET(KT_APP_BASE_URI);
     //Invoke the KtAPI to get detail about the referenced document
     $tree = KT_atom_service_helper::getFullTree();
     //Create the atom response feed
     foreach ($tree as $item) {
         $id = $item['id'];
         $entry = $feed->newEntry();
         $feed->newField('id', $id, $entry);
         foreach ($item as $property => $value) {
             $feed->newField($property, $value, $entry);
         }
     }
     //Expose the responseFeed
     $this->responseFeed = $feed;
 }
 public function DELETE_action()
 {
     $feed = new KT_atom_ResponseFeed_GET(KT_APP_BASE_URI);
     $elem = $feed->newElement('test', 'Responding to a DELETE request');
     $feed->DOM->appendChild($elem);
     $this->setStatus(self::STATUS_OK);
     $this->responseFeed = $feed;
 }