PHP: hw_api->replace - Manual

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

search for in the

hw_api->setcommittedversion hw_api->remove

Last updated: Fri, 26 Jan 2007

view this page in

# hw_api->replace

(no version information, might be only in CVS)

hw_api->replace -- Replaces an object

## Description

hw_api_object hw_api->replace ( array parameter )

Replaces the attributes and the content of an object The parameter array contains the required elements 'objectIdentifier' and 'object' and the optional parameters 'content', 'parameters', 'mode' and 'attributeSelector'. 'objectIdentifier' contains the object to be replaced. 'object' contains the new object. 'content' contains the new content. 'parameters' contain extra information for HTML documents. HTML_Language is the letter abbreviation of the language of the title. HTML_Base sets the base attribute of the HTML document. 'mode' can be a combination of the following flags:

`HW_API_REPLACE_NORMAL`

  The object on the server is replace with the object passed.

`HW_API_REPLACE_FORCE_VERSION_CONTROL`

`HW_API_REPLACE_AUTOMATIC_CHECKOUT`

`HW_API_REPLACE_AUTOMATIC_CHECKIN`

`HW_API_REPLACE_PLAIN`

`HW_API_REPLACE_REVERT_IF_NOT_CHANGED`

`HW_API_REPLACE_KEEP_TIME_MODIFIED`

See also hwapi_insert().

add a note User Contributed Notes
hw_api->replace
There are no user contributed notes for this page.
hw_api->setcommittedversion hw_api->remove

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