@@ 19-26 (lines=8) @@ | ||
16 | return new ar_connect_soapServer( $wsdl, $options ); |
|
17 | } |
|
18 | ||
19 | public static function header( $namespace, $name, $data = null, $mustUnderstand = false, $actor = null ) { |
|
20 | if (isset($actor)) { |
|
21 | $soapHeader = new SoapHeader( $namespace, $name, $data, $mustUnderstand, $actor); |
|
22 | } else { |
|
23 | $soapHeader = new SoapHeader( $namespace, $name, $data, $mustUnderstand); |
|
24 | } |
|
25 | return $soapHeader; |
|
26 | } |
|
27 | ||
28 | public static function param( $data, $name ) { |
|
29 | return new SoapParam( $data, $name ); |
|
@@ 103-110 (lines=8) @@ | ||
100 | ||
101 | class ar_connect_soapHeader extends arWrapper { |
|
102 | ||
103 | public function __construct( $namespace, $name, $data = null, $mustUnderstand = false, $actor = null ) { |
|
104 | if (isset($actor)) { |
|
105 | $soapHeader = new SoapHeader( $namespace, $name, $data, $mustUnderstand, $actor); |
|
106 | } else { |
|
107 | $soapHeader = new SoapHeader( $namespace, $name, $data, $mustUnderstand); |
|
108 | } |
|
109 | parent::__construct( $soapHeader ); |
|
110 | } |
|
111 | ||
112 | } |
|
113 |