⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.hw-modifyobject.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
📖 第 1 页 / 共 2 页
字号:
     remove attributes recursively.    </span>   </p></blockquote>   <blockquote><p><b class="note">Note</b>:     <span class="simpara">     If you need to delete all attributes with a certain name you     will have to pass an empty string as the attribute value.    </span>   </p></blockquote>   <blockquote><p><b class="note">Note</b>:     <span class="simpara">     Only the attributes &#039;Title&#039;, &#039;Description&#039; and &#039;Keyword&#039; will     properly handle the language prefix. If those attributes don&#039;t carry     a language prefix, the prefix &#039;xx&#039; will be assigned.    </span>   </p></blockquote>   <blockquote><p><b class="note">Note</b>:     <span class="simpara">     The &#039;Name&#039; attribute is somewhat special. In some cases it cannot     be complete removed. You will get an error message &#039;Change of base     attribute&#039; (not clear when this happens). Therefore you will always     have to add a new Name first and than remove the old one.    </span>   </p></blockquote>   <blockquote><p><b class="note">Note</b>:     <span class="simpara">     You may not surround this function by calls to     <a href="function.hw-getandlock.html" class="function">hw_getandlock()</a> and <a href="function.hw-unlock.html" class="function">hw_unlock()</a>.     <b>hw_modifyobject()</b> does this internally.    </span>   </p></blockquote>  </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_to_change</tt></i></span>     <dd>      <p class="para">       The object to be changed.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">remove</tt></i></span>     <dd>      <p class="para">       An array of attributes to remove.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">add</tt></i></span>     <dd>      <p class="para">       An array of attributes to add.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">mode</tt></i></span>     <dd>      <p class="para">       The last parameter determines if the modification is performed       recursively. 1 means recursive modification. If some of the objects       cannot be modified they will be skipped without notice.       <a href="function.hw-error.html" class="function">hw_error()</a> may not indicate an error though some of       the objects could not be modified.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure.  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.hw-mapid.html">hw_mapid</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hw-mv.html">hw_mv</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 + -