ZF-8691: addFunction method in Zend_Json_Server could not use existing class instance

Issue Type: Improvement Created: 2010-01-02T06:09:03.000+0000 Last Updated: 2012-11-20T21:38:11.000+0000 Status: Open Fix version(s): Reporter: Adam Charzewski (hiszpan) Assignee: None Tags: - Zend_Json_Server

Related issues: Attachments:


In version 1.9.6 there is no possibility to add method of existing class instance to handle request. Althougth setClass seams to implements such functionality. Why not use it also in addFunction where is possible to add single method from a class. I've made following modification in my local version and it works: on line 129 instead of: $definition = $this->_buildSignature($method); place this: $definition = $this->_buildSignature($method,$class);

Regards, Adam


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.