Ah, I see setClass() accepts a class or object. That solves my problem!

-----Original Message-----
From: Johnson, Josh [mailto:[email protected]] 
Sent: Tuesday, November 23, 2010 12:59 PM
To: [email protected]
Subject: [fw-general] pass constructor args to Zend_Json_Server's attached class

Hi All,

When attaching a class to a JSON-RPC server using Zend_Json_Server's setClass() 
method, is it possible to pass arguments to the class constructor? If not 
(which appears to be the case from browsing the source), is there a particular 
reason why this functionality is not available?

Thanks,
Josh

Reply via email to