|
PHP5中文手册
SoapFault->__construct()(No version information available, might be only in CVS) SoapFault->__construct() — SoapFault constructor 说明SoapFault
__construct
( string $faultcode
, string $faultstring
[, string $faultactor
[, mixed $detail
[, string $faultname
[, SoapHeader $headerfault
]]]] )
This class is useful when you would like to send SOAP fault responses from the PHP handler. faultcode , faultstring , faultactor and details are standard elements of SOAP Fault; 参数
范例
Example#1 Some examples
<?php It is possible to use PHP exception mechanism to throw SOAP Fault.
Example#2 Some examples
<?php |