PHP: hw_api->insert - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

hw_api->insertanchor hw_api->info

Last updated: Fri, 26 Jan 2007

view this page in

# hw_api->insert

(no version information, might be only in CVS)

hw_api->insert -- Inserts a new object

## Description

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. 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:

`HW_API_INSERT_NORMAL`

  The object in inserted into the server.

`HW_API_INSERT_FORCE_VERSION_CONTROL`

`HW_API_INSERT_AUTOMATIC_CHECKOUT`

`HW_API_INSERT_PLAIN`

`HW_API_INSERT_KEEP_TIME_MODIFIED`

`HW_API_INSERT_DELAY_INDEXING`

See also hwapi_replace().

add a note User Contributed Notes
hw_api->insert
There are no user contributed notes for this page.
hw_api->insertanchor hw_api->info

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST