eZPublishCommunityProject(LegacyStack)  2013.9
eZSOAPRequest Class Reference

eZSOAPRequest handles SOAP request messages More...

+ Inheritance diagram for eZSOAPRequest:
+ Collaboration diagram for eZSOAPRequest:

Public Member Functions

 addBodyAttribute ($name, $value, $prefix=false)
 
 addParameter ($name, $value)
 
 eZSOAPRequest ($name="", $namespace="", $parameters=array())
 
 name ()
 
 ns ()
 Returns the request target namespace. More...
 
 payload ()
 
- Public Member Functions inherited from eZSOAPEnvelope
 eZSOAPEnvelope ()
 

Public Attributes

 $BodyAttributes = array()
 Additional body element attributes. More...
 
 $Name
 The request name. More...
 
 $Namespace
 The request target namespace. More...
 
 $Parameters = array()
 Contains the request parameters. More...
 
- Public Attributes inherited from eZSOAPEnvelope
 $Body
 Contains the body object. More...
 
 $Header
 Contains the header object. More...
 
const ENC = "http://schemas.xmlsoap.org/soap/encoding/"
 
const ENC_PREFIX = "SOAP-ENC"
 
const ENV = "http://schemas.xmlsoap.org/soap/envelope/"
 
const ENV_PREFIX = "SOAP-ENV"
 
const INT = 1
 
const SCHEMA_DATA = "http://www.w3.org/2001/XMLSchema"
 
const SCHEMA_INSTANCE = "http://www.w3.org/2001/XMLSchema-instance"
 
const STRING = 2
 
const XSD_PREFIX = "xsd"
 
const XSI_PREFIX = "xsi"
 

Detailed Description

eZSOAPRequest handles SOAP request messages

Member Function Documentation

eZSOAPRequest::addBodyAttribute (   $name,
  $value,
  $prefix = false 
)

Adds a new attribute to the body element.

Parameters
attributename
attributevalue
prefix
eZSOAPRequest::addParameter (   $name,
  $value 
)

Adds a new parameter to the request. You have to provide a prameter name and value.

Referenced by eZSOAPRequest().

eZSOAPRequest::eZSOAPRequest (   $name = "",
  $namespace = "",
  $parameters = array() 
)

Constructs a new eZSOAPRequest object. You have to provide the request name and the target namespace for the request.

Parameters
name
namespace
parameters,assosiativearray, example: array( 'param1' => 'value1, 'param2' => 'value2' )
eZSOAPRequest::name ( )

Returns the request name.

eZSOAPRequest::ns ( )

Returns the request target namespace.

Since
4.1.4 (renamed from namespace() for php 5.3 compatibility)
Returns
string
eZSOAPRequest::payload ( )

Returns the request payload

Member Data Documentation

eZSOAPRequest::$BodyAttributes = array()

Additional body element attributes.

eZSOAPRequest::$Name

The request name.

Referenced by name().

eZSOAPRequest::$Namespace

The request target namespace.

Referenced by ns().

eZSOAPRequest::$Parameters = array()

Contains the request parameters.


The documentation for this class was generated from the following file: