vrana           Fri Aug 17 08:05:34 2007 UTC

  Modified files:              
    /phpdoc/en/reference/soap/functions soap-soapclient-construct.xml 
                                        soap-soapserver-construct.xml 
  Log:
  Document typemap (bug #41490)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml
diff -u phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.10 
phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.11
--- phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.10       
Thu Aug 16 09:41:58 2007
+++ phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml    Fri Aug 
17 08:05:34 2007
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
 <refentry xml:id="function.soap-soapclient-construct" 
xmlns="http://docbook.org/ns/docbook";>
  <refnamediv>
   <refname>SoapClient->__construct()</refname>
@@ -108,9 +108,18 @@
        is available.
       </para>
       <para>
+       The <literal>typemap</literal> option is an array of type mappings.
+       Type mapping is an array with keys <literal>type_name</literal>,
+       <literal>type_ns</literal> (namespace URI), <literal>from_xml</literal>
+       (callback accepting one string parameter) and <literal>to_xml</literal>
+       (callback accepting one object parameter).
+      </para>
+      <para>
+      </para>
+      <para>
        Other options are <literal>stream_context</literal>,
-       <literal>typemap</literal>, <literal>features</literal>,
-       <literal>cache_wsdl</literal> and <literal>user_agent</literal>.
+       <literal>features</literal>, <literal>cache_wsdl</literal> and
+       <literal>user_agent</literal>.
       </para>
      </listitem>
     </varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml
diff -u phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.5 
phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.6
--- phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.5        
Thu Aug 16 09:38:34 2007
+++ phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml    Fri Aug 
17 08:05:34 2007
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <refentry xml:id="function.soap-soapserver-construct" 
xmlns="http://docbook.org/ns/docbook";>
  <refnamediv>
   <refname>SoapServer->__construct()</refname>
@@ -43,11 +43,22 @@
        Allow setting a default SOAP version (<literal>soap_version</literal>),
        internal character encoding (<literal>encoding</literal>),
        and actor URI (<literal>actor</literal>).
+      </para>
+      <para>
        The <literal>classmap</literal> option can be used to map some WSDL 
        types to PHP classes. This option must be an array with WSDL types 
        as keys and names of PHP classes as values.
-       Other options are <literal>typemap</literal>,
-       <literal>features</literal> and <literal>cache_wsdl</literal>.
+      </para>
+      <para>
+       The <literal>typemap</literal> option is an array of type mappings.
+       Type mapping is an array with keys <literal>type_name</literal>,
+       <literal>type_ns</literal> (namespace URI), <literal>from_xml</literal>
+       (callback accepting one string parameter) and <literal>to_xml</literal>
+       (callback accepting one object parameter).
+      </para>
+      <para>
+       Other options are <literal>features</literal> and
+       <literal>cache_wsdl</literal>.
       </para>
      </listitem>
     </varlistentry>

Reply via email to