hw_Document_Content
hw_Document_Size
Hyperwave Functions
PHP Manual

# hw_Document_SetContent

(PHP 4)

hw_Document_SetContent — Sets/replaces content of hw_document

### Descripción

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.

### Lista de parámetros

`hw_document`

  The document identifier.

`content`

### Valores retornados

Devuelve `TRUE` si todo se llevó a cabo correctamente, `FALSE` en caso de fallo.

### Ver también

- hw_document_attributes() - Registro de objeto de hw_document
- hw_document_size() - Size of hw_document
- hw_document_content() - Returns content of hw_document

hw_Document_Content
hw_Document_Size
Hyperwave Functions
PHP Manual