Hyperwave 函数
在线手册:中文  英文

hw_Document_SetContent

(PHP 4)

hw_Document_SetContentSets/replaces content of hw_document

说明

bool hw_document_setcontent ( int $hw_document , string $content )

Sets or replaces the content of the document. If the document is an HTML document the content is everything after the BODY tag. Information from the HEAD and BODY tag is in the stored in the object record. If you provide this information in the content of the document too, the Hyperwave server will change the object record accordingly when the document is inserted. Probably not a very good idea. If this functions fails the document will retain its old content.

参数

hw_document

The document identifier.

content

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见


Hyperwave 函数
在线手册:中文  英文
易百教程