HW_INSDOC(3) 1 HW_INSDOC(3)
hw_InsDoc - Insert document
SYNOPSIS
int hw_insdoc (resource $connection, int $parentID, string $object_record, [string $text])
DESCRIPTION
Inserts a new document with attributes as in $object_record into acollection.
If you want to insert a general document of any kind use hw_insertdocument(3) instead.
PARAMETERS
o $connection
- The connection identifier.
o $parentID
- The collection id.
o $object_record
- Object attributes.
o $text
- If provided, this ascii text will be inserted too.
RETURN VALUES
SEE ALSO
hw_insertdocument(3), hw_inscoll(3).
PHP Documentation Group HW_INSDOC(3)