hw_insertdocument(3) php man page | unix.com

Man Page: hw_insertdocument

Operating Environment: php

Section: 3

HW_INSERTDOCUMENT(3)							 1						      HW_INSERTDOCUMENT(3)

hw_InsertDocument - Upload any document

SYNOPSIS
int hw_insertdocument (int $connection, int $parent_id, int $hw_document)
DESCRIPTION
Uploads a document into the given collection. The document has to be created before with hw_new_document(3). 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.
PARAMETERS
o $connection - The connection identifier. o $parent_id - The collection identifier. o $hw_document - The document identifier.
RETURN VALUES
The functions returns the object id of the new document or FALSE.
SEE ALSO
hw_pipedocument(3). PHP Documentation Group HW_INSERTDOCUMENT(3)
Related Man Pages
simplexml_load_file(3) - php
hw_getremotechildren(3) - php
ps_add_bookmark(3) - php
ps_begin_page(3) - php
ps_set_info(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch