View Single Post
  #2 (permalink)  
Old 03-21-2007, 12:49 AM
SpotSec's Avatar
SpotSec SpotSec is offline
Senior Member
 
Join Date: Feb 2007
Location: United States
Posts: 122
Default

Quote:
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'.
Are you trying to return an array? Or are you trying to parse the result?


Quote:
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.
If I remember correctly (dont quote me, its been a while) optional parameters are not supported by rest, soap, xmlrpc etc...

If you haven't looked at the manual carefully, I suggest you do Zend Framework
__________________
Zym Framework - A Zend Framework extension library w/ demo app

SpotSec Blog:
http://spotsec.com/blog
Reply With Quote