Location: PHPKode > projects > SOAP SQL > soapsql/docs/soapsql/_demos---client_helper.php.html
<html>
<head>
<title>Docs for page client_helper.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">soapsql</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
  		  [ <a href="../classtrees_soapsql.html" class="menu">class tree: soapsql</a> ]
		  [ <a href="../elementindex_soapsql.html" class="menu">index: soapsql</a> ]
		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
	<div id="ric">
					<p><a href="../ric_INSTALL.html">INSTALL</a></p>
					<p><a href="../ric_LICENSE.html">LICENSE</a></p>
					<p><a href="../ric_README.html">README</a></p>
			</div>
      <b>Packages:</b><br />
              <a href="../li_soapsql.html">soapsql</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../soapsql/_demos---client_helper.php.html">		client_helper.php
		</a><br>
			<a href="../soapsql/_soapsql.php.html">		soapsql.php
		</a><br>
			<a href="../soapsql/_demos---test_nusoap_client.php.html">		test_nusoap_client.php
		</a><br>
			<a href="../soapsql/_demos---test_nusoap_server.php.html">		test_nusoap_server.php
		</a><br>
			<a href="../soapsql/_demos---test_soapsql.php.html">		test_soapsql.php
		</a><br>
			<a href="../soapsql/_demos---test_soapsql_client.php.html">		test_soapsql_client.php
		</a><br>
			<a href="../soapsql/_demos---test_soapsql_simple.php.html">		test_soapsql_simple.php
		</a><br>
	  </div><br />

      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../soapsql/soapsql.html">soapsql</a><br />
	  </div>

                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Procedural File: client_helper.php</h1>
Source Location: /demos/client_helper.php<br /><br />

<br>
<br>


<h2>Page Details:</h2>
<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="../__filesource/fsource_soapsql__demosclient_helper.php.html">Source Code for this file</a></td>
  </tr>
</table>
</div>
<br /><br />
<br /><br />
<br /><br />
<br />
  <hr />
	<a name="functionserializeArray"></a>
	<h3>serializeArray <span class="smalllinenumber">[line <a href="../__filesource/fsource_soapsql__demosclient_helper.php.html#a25">25</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string serializeArray(
mixed $val, [string $type = false], [string $type_ns = false], [string $use = &#039;encoded&#039;], string $name)</code>
    </td></tr></table>
    </td></tr></table><br />

		This is a helper function taken DIRECTLY from NuSOAP.php except that  it serializes an array *without* wrapping in an element.<br /><br /><p>NOTE: Needed only when using soapclient calls.  Generally only needs the $val parameter to be set for RPC style.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>The serialized element, possibly with child elements</td>
  </tr>
</table>
</div>
    <br /><br />
	
    		<h4>Parameters</h4>
    <table border="0" cellspacing="0" cellpadding="0">
		      <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$val</b>&nbsp;&nbsp;</td>
        <td>The value to serialize</td>
      </tr>
		      <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$name</b>&nbsp;&nbsp;</td>
        <td>The name (local part) of the XML element</td>
      </tr>
		      <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$type</b>&nbsp;&nbsp;</td>
        <td>The XML schema type (local part) for the element</td>
      </tr>
		      <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$type_ns</b>&nbsp;&nbsp;</td>
        <td>The namespace for the type of the element</td>
      </tr>
		      <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$use</b>&nbsp;&nbsp;</td>
        <td>The WSDL &quot;use&quot; (encoded|literal)</td>
      </tr>
				</table>
    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
	</div>

        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 03 May 2007 14:46:18 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.2</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>
Return current item: SOAP SQL