📄 function.hw-mv.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Moves objects</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.hw-modifyobject.html">hw_Modifyobject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hw-new-document.html">hw_New_Document</a></div> <div class="up"><a href="ref.hw.html">Hyperwave Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.hw-mv" class="refentry"> <div class="refnamediv"> <h1 class="refname">hw_mv</h1> <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">hw_mv</span> — <span class="dc-title">Moves objects</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><b>hw_mv</b></b></span> ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$connection</tt></span> , <span class="methodparam"><span class="type">array</span> <tt class="parameter">$object_id_array</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$source_id</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$destination_id</tt></span> )</div> <p class="para rdfs-comment"> Moves the specified objects from a collection to another. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">connection</tt></i></span> <dd> <p class="para"> The connection identifier. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">object_id_array</tt></i></span> <dd> <p class="para"> An array of object ids. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">source_id</tt></i></span> <dd> <p class="para"> The source collection id. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">destination_id</tt></i></span> <dd> <p class="para"> The target collection id. If set to 0 the objects will be unlinked from the source collection. If this is the last instance of that object it will be deleted. If you want to delete all instances at once, use <a href="function.hw-deleteobject.html" class="function">hw_deleteobject()</a>. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the number of moved objects. </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="function.hw-cp.html" class="function" rel="rdfs-seeAlso">hw_cp()</a></li> <li class="member"><a href="function.hw-deleteobject.html" class="function" rel="rdfs-seeAlso">hw_deleteobject()</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.hw-modifyobject.html">hw_Modifyobject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hw-new-document.html">hw_New_Document</a></div> <div class="up"><a href="ref.hw.html">Hyperwave Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -