hw_api::insert

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)
Inserts a new object
hw_api_object hw_api::insert ( array $parameter )

Insert a new object. The object type can be user, group, document or anchor. Depending on the type other object attributes has to be set.

Parameters:
parameter

The parameter array contains the required elements 'object' and 'content' (if the object is a document) and the optional parameters 'parameters', 'mode' and 'attributeSelector'. The 'object' must contain all attributes of the object. 'parameters' is an object as well holding further attributes like the destination (attribute key is 'Parent'). 'content' is the content of the document. 'mode' can be a combination of the following flags:

Returns:
See also:

hw_api::replace -

doc_php
2016-02-24 16:09:12
Comments
Leave a Comment

Please login to continue.