cvs: pear /SOAP WSDL.php
| From: | Jan Schneider | Date: | Tue, 17 Jan 2006 10:04:21 +0000 |
| Subject: | cvs: pear /SOAP WSDL.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-37605@lists.php.net to get a copy of this message | ||
yunosh Tue Jan 17 10:04:21 2006 UTC
Modified files:
/pear/SOAP WSDL.php
Log:
Properly escape variables, fix indenting of generated code.
http://cvs.php.net/viewcvs.cgi/pear/SOAP/WSDL.php?r1=1.83&r2=1.84&diff_format=u
Index: pear/SOAP/WSDL.php
diff -u pear/SOAP/WSDL.php:1.83 pear/SOAP/WSDL.php:1.84
--- pear/SOAP/WSDL.php:1.83 Sun Jan 8 01:02:57 2006
+++ pear/SOAP/WSDL.php Tue Jan 17 10:04:21 2006
@@ -670,14 +670,14 @@
}
$class .= " function &$opname_php($args)\n {\n$comments$wrappers" .
- " $result = \$this->call('$opname',\n" .
- " \$v = $argarray,\n" .
- " array('namespace' =>
'$namespace',\n" .
- " 'soapaction' =>
'$soapaction',\n" .
- " 'style' =>
'$opstyle',\n" .
- " 'use' => '$use'"
.
- ($this->trace?",\n 'trace' =>
1" : '') . "));\n" .
- " return $result;\n" .
+ " \$result = \$this->call('$opname',\n" .
+ " \$v = $argarray,\n" .
+ " array('namespace' =>
'$namespace',\n" .
+ " 'soapaction' =>
'$soapaction',\n" .
+ " 'style' =>
'$opstyle',\n" .
+ " 'use' =>
'$use'" .
+ ($this->trace?",\n 'trace'
=> 1" : '') . "));\n" .
+ " return \$result;\n" .
" }\n";
}