Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 11174

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>To load a second or subsequent schema file to a SDO_DAS_XML object</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.sdo-das-xml.html">SDO DAS XML Functions</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo-das-xml.create.html">SDO_DAS_XML::create</a></div>
 <div class="up"><a href="ref.sdo-das-xml.html">SDO DAS XML Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sdo-das-xml.addtypes" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SDO_DAS_XML::addTypes</h1>
  <p class="verinfo">(^)</p><p class="refpurpose"><span class="refname">SDO_DAS_XML::addTypes</span> &mdash; <span class="dc-title">
   To load a second or subsequent schema file to a SDO_DAS_XML object
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-sdo-das-xml.addtypes-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SDO_DAS_XML::addTypes</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$xsd_file</code></span>
   )</div>


  <p class="para rdfs-comment">
   Load a second or subsequent schema file to an XML DAS that has already
   been created with the static method  <span class="function"><strong>create()</strong></span>.
   Although the file may be any valid schema file, a likely reason for 
   using this method is to add a schema file containing definitions of 
   extra complex types, hence the name. See Example 4 of the parent document 
   for an example. 
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-sdo-das-xml.addtypes-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

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

      <p class="para">
       Path to XSD Schema file. 
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-sdo-das-xml.addtypes-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   None if successful, otherwise throws an exception as described below.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-sdo-das-xml.addtypes-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 a type is not defined in the underlying model.
      </p>
     </dd>

    </dt>

    <dt>

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

      <p class="para">
       Thrown for any problems while parsing the given XSD File.
      </p>
     </dd>

    </dt>

    <dt>

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

      <p class="para">
       Thrown if the specified file cannot be found. 
      </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="ref.sdo-das-xml.html">SDO DAS XML Functions</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo-das-xml.create.html">SDO_DAS_XML::create</a></div>
 <div class="up"><a href="ref.sdo-das-xml.html">SDO DAS XML Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>