Welcome Guest, Not a member yet? Register   Sign In
XML RPC call 1 method before all others
#1

[eluser]asciiCode[/eluser]
I have xml rpc working fine with code igniter.

What I want to do is call one method at the start of any xml rpc method.

This new special method would validate if the version number of the xml rpc call is valid.

Please note that I pass in the version number as the first variable to all of my xmlrpc calls.

Is there an easy way to validate this information other than doing it in each individual method?
#2

[eluser]sketchynix[/eluser]
Have you looked into using hooks for this?
http://ellislab.com/codeigniter/user-gui...hooks.html

Or perhaps extending the xml-rpc class




Theme © iAndrew 2016 - Forum software by © MyBB