SOAP
[ class tree: SOAP ] [ index: SOAP ] [ all elements ]

Class: SOAP_Fault

Source Location: /SOAP-0.7.0/Fault.php

Class Overview

PEAR_Error
   |
   --SOAP_Fault

SOAP_Fault PEAR::Error wrapper used to match SOAP Faults to PEAR Errors


Author(s):

Version:

  • $Id: Fault.php,v 1.10 2002/07/06 21:58:24 shane Exp $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
SOAP_Fault PEAR::Error wrapper used to match SOAP Faults to PEAR Errors


[ Top ]


Method Detail

SOAP_Fault (Constructor)   [line 47]

SOAP_Fault SOAP_Fault( [string $faultstring = 'unknown error'], [mixed $faultcode = 'Client'], [mixed $faultactor = NULL], [mixed $detail = NULL], [array $mode = null], [mixed $options = null])

Constructor

Parameters:

string   $faultstring     message string for fault
mixed   $faultcode     the faultcode
mixed   $faultactor     see PEAR::ERROR
mixed   $detail     see PEAR::ERROR
array   $mode     the userinfo array is used to pass in the SOAP actor and detail for the fault

[ Top ]

getActor   [line 110]

string getActor( )

getActor

returns the SOAP actor for the fault

  • Access: public

[ Top ]

getDetail   [line 123]

string getDetail( )

getDetail

returns the fault detail

  • Access: public

[ Top ]

getFault   [line 83]

array getFault( )

getFault

returns a simple native php array containing the fault data

  • Access: public

[ Top ]

message   [line 61]

SOAP_Message message( )

message

returns a SOAP_Message class that can be sent as a server response

  • Access: public

[ Top ]


Documentation generated on Fri, 30 Apr 2004 21:46:47 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.