Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Hyperwave Functions : hw_InsertDocument

hw_InsertDocument

Upload any document ()
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_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. The functions returns the object id of the new document or FALSE.

See also hw_pipedocument().

Change Language


Follow Navioo On Twitter
hw_Array2Objrec
hw_changeobject
hw_Children
hw_ChildrenObj
hw_Close
hw_Connect
hw_connection_info
hw_cp
hw_Deleteobject
hw_DocByAnchor
hw_DocByAnchorObj
hw_Document_Attributes
hw_Document_BodyTag
hw_Document_Content
hw_Document_SetContent
hw_Document_Size
hw_dummy
hw_EditText
hw_Error
hw_ErrorMsg
hw_Free_Document
hw_GetAnchors
hw_GetAnchorsObj
hw_GetAndLock
hw_GetChildColl
hw_GetChildCollObj
hw_GetChildDocColl
hw_GetChildDocCollObj
hw_GetObject
hw_GetObjectByQuery
hw_GetObjectByQueryColl
hw_GetObjectByQueryCollObj
hw_GetObjectByQueryObj
hw_GetParents
hw_GetParentsObj
hw_getrellink
hw_GetRemote
hw_getremotechildren
hw_GetSrcByDestObj
hw_GetText
hw_getusername
hw_Identify
hw_InCollections
hw_Info
hw_InsColl
hw_InsDoc
hw_insertanchors
hw_InsertDocument
hw_InsertObject
hw_mapid
hw_Modifyobject
hw_mv
hw_New_Document
hw_objrec2array
hw_Output_Document
hw_pConnect
hw_PipeDocument
hw_Root
hw_setlinkroot
hw_stat
hw_Unlock
hw_Who
eXTReMe Tracker