hw_api::content
(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)
hw_api::content — Returns content of an object
说明
$parameter
) : HW_API_ContentThis function returns the content of a document as an object of type hw_api_content.
参数
-
parameter -
The parameter array contains the required elements 'objectidentifier' and the optional element 'mode'. The mode can be one of the constants
HW_API_CONTENT_ALLLINKS,HW_API_CONTENT_REACHABLELINKSorHW_API_CONTENT_PLAIN.HW_API_CONTENT_ALLLINKSmeans to insert all anchors even if the destination is not reachable.HW_API_CONTENT_REACHABLELINKStells this method to insert only reachable links andHW_API_CONTENT_PLAINwill lead to document without any links.
返回值
Returns an instance of hw_api_content.