★ wanayoo — archive 1999 http://il.php.net/manual/function.hw-insertdocument.php3Nouvelle recherche | Portail wanayoo

PHP3 Home Page

Manual Table of Contents
Up to Hyperwave
Quick Reference
Hyperwave
* hw_Modifyobject
* hw_Children
* hw_ChildrenObj
* hw_Close
* hw_Connect
* hw_Cp
* hw_Deleteobject
* hw_DocByAnchor
* hw_DocByAnchorObj
* hw_DocumentAttributes
* hw_DocumentBodyTag
* hw_DocumentContent
* hw_DocumentSetContent
* hw_DocumentSize
* hw_ErrorMsg
* hw_EditText
* hw_Error
* hw_Free_Document
* hw_GetParents
* hw_GetParentsObj
* hw_GetChildColl
* hw_GetChildCollObj
* hw_GetRemote
* hw_GetRemoteChildren
* hw_GetSrcByDestObj
* hw_GetObject
* hw_GetAndLock
* hw_GetText
* hw_GetObjectByQuery
* hw_GetObjectByQueryObj
* hw_GetObjectByQueryColl
* hw_GetObjectByQueryCollObj
* hw_GetChildDocColl
* hw_GetChildDocCollObj
* hw_GetAnchors
* hw_GetAnchorsObj
* hw_Mv
* hw_Identify
* hw_InCollections
* hw_Info
* hw_InsColl
* hw_InsDoc
* hw_InsertDocument
* hw_InsertObject
* hw_New_Document
* hw_Objrec2Array
* hw_OutputDocument
* hw_pConnect
* hw_PipeDocument
* hw_Root
* hw_Unlock
* hw_Username
Manual: hw_InsertDocument
View the source code for this pageSearch the site



Previous page
 hw_InsDoc
hw_InsertObject 
Next page


hw_InsertDocument

hw_InsertDocument -- upload any document

Description

int hw_insertdocument(int connection, int parent_id, int hw_document);

Uploads a document into the collection with parent_id. The document has to be created before with hw_NewDocument(). 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. The functions returns the object id of the new document or false.

See also hw_PipeDocument().


 About Notes


Previous page
 hw_InsDoc
hw_InsertObject 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
Israel
Some elements of this website are subject to copyright.