(no version information, might be only in CVS)

SoapServer::setClass --  Sets class which will handle SOAP requests


void SoapServer::setClass ( string class_name [, mixed args])

Exports all methods from specified class. Additional parameters args will be passed to the default class constructor during object creation. The object can be made persistent across request for a given PHP session with the SoapServer::setPersistence() method.

Example 1. Some examples


class foo {

bar {
bar($x, $y)
$server->setClass("bar", $arg1, $arg2);


See also SoapServer::SoapServer(), SoapServer::addFunction(), and SoapServer::setPersistence().

Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples
  Copyright 2004 Evrsoft Developer Network. Privacy policy - Link to Us

Contact Evrsoft