Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 11119

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>create an SDO</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sca.getservice.html">SCA::getService</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sca-soapproxy.createdataobject.html">SCA_SoapProxy::createDataObject</a></div>
 <div class="up"><a href="ref.sca.html">SCA Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sca-localproxy.createdataobject" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SCA_LocalProxy::createDataObject</h1>
  <p class="verinfo">(PECL SDO &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">SCA_LocalProxy::createDataObject</span> &mdash; <span class="dc-title"> create an SDO </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-sca-localproxy.createdataobject-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="ref.sdo.html" class="type SDO_DataObject">SDO_DataObject</a></span>
    <span class="methodname"><strong>SCA_LocalProxy::createDataObject</strong></span>
    ( <span class="methodparam">
    <span class="type">string</span>
     <code class="parameter">$type_namespace_uri</code>
   </span>
   , <span class="methodparam">
    <span class="type">string</span>
     <code class="parameter">$type_name</code>
   </span>
   )</div>

  
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
This function should be used at your own risk.
</p></div>
  
  <p class="para"> This method is used inside either an ordinary PHP script or an SCA
   component that needs to create an SDO to pass to a local service. The
   parameters are the desired SDO&#039;s namespace URI and type name. The
   namespace and type must be defined in the interface of the component
   that is to be called, so the namespace and type must be defined in one of
   the schema files which are specified on the @types annotation within
   the component for which the SCA_LocalProxy object is a proxy. </p>
  
 </div>

 <div class="refsect1 parameters" id="refsect1-sca-localproxy.createdataobject-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term">
      <em><code class="parameter">type_namespace_uri</code></em>
     </span>
     <dd>

      <p class="para"> The namespace of the type. </p>
     </dd>

    </dt>

    <dt>

     <span class="term">
      <em><code class="parameter">type_name</code></em>
     </span>
     <dd>

      <p class="para"> The name of the type. </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-sca-localproxy.createdataobject-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para"> Returns the newly created SDO_DataObject. </p>
 </div>

 
 <div class="refsect1 errors" id="refsect1-sca-localproxy.createdataobject-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term">
      <em><code class="parameter">SDO_TypeNotFoundException</code></em>
     </span>
     <dd>

      <p class="para"> Thrown if the namespaceURI and typeName do not correspond
       to a type in any of the schema files specified in the @types
       annotations within the component for which the SCA_LocalProxy
       object is a proxy.. </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 
 
 
 
 
 
 
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sca.getservice.html">SCA::getService</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sca-soapproxy.createdataobject.html">SCA_SoapProxy::createDataObject</a></div>
 <div class="up"><a href="ref.sca.html">SCA Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>