hw_api::insertdocument

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)

hw_api::insertdocumentInserts a new object of type document

说明

hw_api::insertdocument ( array $parameter ) : hw_api_object

This function is a shortcut for hwapi_insert(). It inserts an object with content and sets some of the attributes required for a document.

参数

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.

返回值

关注编程学问公众号