hw_api->insertdocument()
hw_api->insertdocument - Inserts a new object of type document
Syntax
hw_api_object hw_api->insertdocument (
array $parameter)
Arguments
- parameter - 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.
Description
This function is a shortcut for hwapi_insert(). It inserts an object with content and sets some of the attributes required for a document.
Version
PHP 4, 5 < 5.2.0, PECL hwapi SVN
Return value