略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: hw_api::content

2024-05-02

hw_api::content

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)

hw_api::contentReturns content of an object

说明

hw_api::content ( array $parameter ) : HW_API_Content

This 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_REACHABLELINKS or HW_API_CONTENT_PLAIN.

HW_API_CONTENT_ALLLINKS means to insert all anchors even if the destination is not reachable.

HW_API_CONTENT_REACHABLELINKS tells this method to insert only reachable links and HW_API_CONTENT_PLAIN will lead to document without any links.

返回值

Returns an instance of hw_api_content.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/hwapi.content.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3