SoapObject::setFunction

SoapObject::setFunction -- Adds to the functions currently available to the server

Description

SoapObject::addFunction ((string|array) functions)

Warning

This function is EXPERIMENTAL. That means, that the behaviour of this function, the function name, in concreto ANYTHING documented here can change in a future release of this package WITHOUT NOTICE. Be warned, and use this function at your own risk.

Based on the parameters passed, addfunction will add a single function, an array of functions.

AddFunction should only be used when implementing a non-class SoapServer.

You can currently also use SOAP_FUNCTIONS_ALL as the paramenter, and this is also the default for testing purposes, this will be changed for security reasons.