Implements interfaces:
Enables amfPHP to receive and reply with JSON This plugin can be deactivated if the project doesn't need to support JSON strings and returned as JSON strings using POST parameters.
You must add the 'application/json' content type, or set it in the headers so that it is recognized as a call to be handled by this plugin. for example: http://yourserver.com/Amfphp/?contentType=application/json
Here is some sample code using Javascript with JQuery:
Requires at least PHP 5.2.
Located in /Amfphp/Plugins/AmfphpJson/AmfphpJson.php (line 33)
constructor. Add filters on the HookManager.
If the content type contains the 'json' string, returns this plugin
Retrieve the serviceName, methodName and parameters from the PHP object
representing the JSON string
Encode the PHP object returned from the service call into a JSON string
Documentation generated on Mon, 23 Jan 2012 17:22:02 -0300 by phpDocumentor 1.4.3