hw_insertanchors
hw_InsertObject
Hyperwave Funktionen
PHP Manual

# hw_InsertDocument

(PHP 4)

hw_InsertDocument — Upload any document

### Beschreibung

int hw_insertdocument ( int `$connection` , int `$parent_id` , int `$hw_document` )

Uploads a document into the given collection.

The document has to be created before with hw_new_document(). Make sure that the object record of the new document contains at least the attributes: Type, DocumentType, Title and Name. Possibly you also want to set the MimeType.

### Parameter-Liste

`connection`

  The connection identifier.

`parent_id`

  The collection identifier.

`hw_document`

  The document identifier.

### Rückgabewerte

The functions returns the object id of the new document or `FALSE`.

### Siehe auch

- hw_pipedocument() - Retrieve any document

hw_insertanchors
hw_InsertObject
Hyperwave Funktionen
PHP Manual