SoapServer::addFunction

SoapServer::addFunction

(PHP 5 >= 5.0.1, PHP 7)

SoapServer::addFunctionAdds one or more functions to handle SOAP requests

Description

public void SoapServer::addFunction ( mixed $functions )

Exports one or more functions for remote clients

Parameters

functions

To export one function, pass the function name into this parameter as a string.

To export several functions, pass an array of function names.

登录查看完整内容