Query: hw_insertdocument
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HW_INSERTDOCUMENT(3) 1 HW_INSERTDOCUMENT(3) hw_InsertDocument - Upload any documentSYNOPSISint hw_insertdocument (int $connection, int $parent_id, int $hw_document)DESCRIPTIONUploads 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.PARAMETERSo $connection - The connection identifier. o $parent_id - The collection identifier. o $hw_document - The document identifier.RETURN VALUESThe functions returns the object id of the new document or FALSE.SEE ALSOhw_pipedocument(3). PHP Documentation Group HW_INSERTDOCUMENT(3)