function.hw-mapid.html

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

HTML
108
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Maps global id on virtual local id</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-insertobject.html">hw_InsertObject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hw-modifyobject.html">hw_Modifyobject</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-mapid" class="refentry"> <div class="refnamediv">  <h1 class="refname">hw_mapid</h1>  <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">hw_mapid</span> &mdash; <span class="dc-title">Maps global id on virtual local id</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_mapid</b></b></span>    ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$connection</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$server_id</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$object_id</tt></span>   )</div>  <p class="para rdfs-comment">   Maps a global object id on any hyperwave server, even those you did not   connect to with <a href="function.hw-connect.html" class="function">hw_connect()</a>, onto a virtual object id.  </p>  <p class="para">   This virtual object id can then be used as any other object id, e.g. to   obtain the object record with <a href="function.hw-getobject.html" class="function">hw_getobject()</a>.  </p>  <p class="para">   Note: In order to use this function you will have to set the F_DISTRIBUTED   flag, which can currently only be set at compile time in hg_comm.c. It is   not set by default. Read the comment at the beginning of hg_comm.c  </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">server_id</tt></i></span>     <dd>      <p class="para">       The server id is the first part of the global object id (GOid) of the       object which is actually the IP number as an integer.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">object_id</tt></i></span>     <dd>      <p class="para">       The object identifier.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns the virtual object id.  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.hw-insertobject.html">hw_InsertObject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hw-modifyobject.html">hw_Modifyobject</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 + =
减小字号Ctrl + -
显示快捷键?