function.dbplus-rcreate.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 127 行

HTML
127
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Creates a new DB++ relation</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div 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 &gt;= 4.0.7, PECL dbplus: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">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">resource</span> <span class="methodname"><b><b>dbplus_rcreate</b></b></span>    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span>   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <tt class="parameter">$domlist</tt></span>   [, <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$overwrite</tt></span>  ] )</div>  <p class="para rdfs-comment">   Creates a new relation. Any existing relation sharing the same   <i><tt class="parameter">name</tt></i> will be overwritten if the relation is   currently not in use and <i><tt class="parameter">overwrite</tt></i> is set to TRUE.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">name</tt></i></span>     <dd>      <p class="para">      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">domlist</tt></i></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><p><b class="note">Note</b>:                This function will also accept a string with space delimited domain        description strings, but it is recommended to use an array       <br />      </p></blockquote>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">overwrite</tt></i></span>     <dd>      <p class="para">      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">  </p> </div> <div class="refsect1 notes">  <h3 class="title">Notes</h3>  <div class="warning"><b class="warning">Warning</b><p class="simpara">This function is<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, andsurrounding 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 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>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?