uTools-Manuals/docs/php/dbplus_rcreate.html
2019-04-28 19:00:34 +08:00

106 lines
3.6 KiB
HTML

<!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 class="docs"><div id="layout">
<div id="layout-content"><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">说明</h3>
<div class="methodsynopsis dc-description">
<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>
] ) : <span class="type">resource</span></div>
<p class="para rdfs-comment">
Creates a new relation. Any existing relation sharing the same
<code class="parameter">name</code> will be overwritten if the relation is
currently not in use and <code class="parameter">overwrite</code> is set to TRUE.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.dbplus-rcreate-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">name</code></dt>
<dd>
<p class="para">
</p>
</dd>
<dt>
<code class="parameter">domlist</code></dt>
<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>
<code class="parameter">overwrite</code></dt>
<dd>
<p class="para">
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.dbplus-rcreate-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
</p>
</div>
<div class="refsect1 notes" id="refsect1-function.dbplus-rcreate-notes">
<h3 class="title">注释</h3>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象,包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
</div>
</div></div></div></body></html>