📄 function.hwapi-content.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Returns content of an object</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.hwapi-content-read.html">hw_api_content->read</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hwapi-copy.html">hw_api->copy</a></div> <div class="up"><a href="ref.hwapi.html">Hyperwave API Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.hwapi-content" class="refentry"> <div class="refnamediv"> <h1 class="refname">hw_api->content</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">hw_api->content</span> — <span class="dc-title">Returns content of an object</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="classsynopsis"> <div class="ooclass"><b class="classname">hw_api</b></div> <div class="methodsynopsis dc-description"> <span class="type">HW_API_Content</span> <span class="methodname"><b><b>content</b></b></span> ( <span class="methodparam"><span class="type">array</span> <tt class="parameter">$parameter</tt></span> )</div> </div> <p class="para"> This function returns the content of a document as an object of type <b class="classname">hw_api_content</b>. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">parameter</tt></i></span> <dd> <p class="para"> The parameter array contains the required elements 'objectidentifier' and the optional element 'mode'. The mode can be one of the constants <b><tt>HW_API_CONTENT_ALLLINKS</tt></b>, <b><tt>HW_API_CONTENT_REACHABLELINKS</tt></b> or <b><tt>HW_API_CONTENT_PLAIN</tt></b>. </p> <p class="para"> <b><tt>HW_API_CONTENT_ALLLINKS</tt></b> means to insert all anchors even if the destination is not reachable. </p> <p class="para"> <b><tt>HW_API_CONTENT_REACHABLELINKS</tt></b> tells this method to insert only reachable links and <b><tt>HW_API_CONTENT_PLAIN</tt></b> will lead to document without any links. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an instance of <b class="classname">hw_api_content</b>. </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.hwapi-content-read.html">hw_api_content->read</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hwapi-copy.html">hw_api->copy</a></div> <div class="up"><a href="ref.hwapi.html">Hyperwave API 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 + -