SoapObject::setClass

SoapObject::setClass -- bind a php class to the SoapServer Object

Description

SoapObject::setClass (string class_name [, mixed constructor_args])

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.

This function will first check if the class exists. If it finds the existing class, it will bind all existing methods to the created SoapServer.

Parameters: