Sophie

Sophie

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

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>Creates a new DB++ relation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.dbplus-rchperm.html">dbplus_rchperm</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.dbplus-rcrtexact.html">dbplus_rcrtexact</a></div>
 <div class="up"><a href="ref.dbplus.html">DB++ Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.dbplus-rcreate" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dbplus_rcreate</h1>
  <p class="verinfo">(PHP 4 &lt;= 4.1.0, PECL dbplus &gt;= 0.9)</p><p class="refpurpose"><span class="refname">dbplus_rcreate</span> &mdash; <span class="dc-title">Creates a new DB++ relation</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.dbplus-rcreate-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>dbplus_rcreate</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$domlist</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$overwrite</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   Creates a new relation. Any existing relation sharing the same
   <em><code class="parameter">name</code></em> will be overwritten if the relation is
   currently not in use and <em><code class="parameter">overwrite</code></em> is set to TRUE.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.dbplus-rcreate-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

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

      <p class="para">
      </p>
     </dd>

    </dt>

    <dt>

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

      <p class="para">
       A combination of domains. May be passed as a single domain name string
       or as an array of domain names.
      </p>
      <p class="para">
       This parameter should contain the domain specification for the new
       relation within an array of domain description strings. A domain
       description string consists of a domain name unique to this
       relation, a slash and a type specification character. See the
       db++ documentation, especially the dbcreate(1) manpage, for a
       description of available type specifiers and their meanings.
      </p>
      <blockquote class="note"><p><strong class="note">Note</strong>: 
       <p class="para">
        This function will also accept a string with space delimited domain
        description strings, but it is recommended to use an array
       </p>
      </p></blockquote>
     </dd>

    </dt>

    <dt>

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

      <p class="para">
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.dbplus-rcreate-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.dbplus-rcreate-notes">
  <h3 class="title">Notes</h3>
  <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>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.dbplus-rchperm.html">dbplus_rchperm</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.dbplus-rcrtexact.html">dbplus_rcrtexact</a></div>
 <div class="up"><a href="ref.dbplus.html">DB++ Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>