hw_api->insertdocument
(no version information, might be only in CVS)
hw_api->insertdocument -- Inserts a new object of type
document
Description
object insertdocument ( array parameter)
This function is a shortcut for hwapi_insert(). It inserts
an object with content and sets some of the attributes required
for a document. The parameter array contains the required
elements 'object', 'parentIdentifier' and 'content' and
the optional elements 'mode', 'parameter' and 'attributeSelector'.
See hwapi_insert() for the meaning of each element.
See also hwapi_insert() hwapi_insertanchor(), hwapi_insertcollection().
hw_api->link
(no version information, might be only in CVS)
hw_api->link -- Creates a link to an object
Description
object link ( array parameter)
Creates a link to an object. Accessing this link is like
accessing the object to links points to. The parameter array
contains the required elements 'objectIdentifier' and 'destinationParentIdentifier'.
'destinationParentIdentifier' is the target collection.
The function returns TRUE on success or an error object.
See also hwapi_copy().
|