View Single Post
  #1 (permalink)  
Old 03-20-2007, 01:08 AM
richmulhern richmulhern is offline
Junior Member
 
Join Date: Mar 2007
Posts: 2
Default Some Zend_Rest_Server issues I'm having

I'm finding Zend_Rest_Server a little limited. I'm having trouble doing the following things.

Anything beyond a basic return requires writing out all the XML. For instance I can't figure how to give my elements attributes, have multiple elements with the same name like 'book'. Most of the things I try return elements with the name 'key_0', 'key_1', 'key_2'.

Also how can I make my functions have optional parameters. I register a class 'Tracks' for a playlist or tracks. For each method I want an optional parameter for each method. I set the parameter in the method to the default option, but i am still required to use them in the querystring or Zend_Rest_Client call.
Reply With Quote