PHP: hw_api->checkin - Manual

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

search for in the

hw_api->checkout hw_api_attribute

Last updated: Fri, 26 Jan 2007

view this page in

# hw_api->checkin

(no version information, might be only in CVS)

hw_api->checkin -- Checks in an object

## Description

bool hw_api->checkin ( array parameter )

This function checks in an object or a whole hierarchy of objects. The parameters array contains the required element 'objectIdentifier' and the optional element 'version', 'comment', 'mode' and 'objectQuery'. 'version' sets the version of the object. It consists of the major and minor version separated by a period. If the version is not set, the minor version is incremented. 'mode' can be one of the following values:

HW_API_CHECKIN_NORMAL

  Checks in and commits the object. The object must be a document.

HW_API_CHECKIN_RECURSIVE

  If the object to check in is a collection, all children will be checked in recursively if they are documents. Trying to check in a collection would result in an error.

HW_API_CHECKIN_FORCE_VERSION_CONTROL

  Checks in an object even if it is not under version control.

HW_API_CHECKIN_REVERT_IF_NOT_CHANGED

  Check if the new version is different from the last version. Unless this is the case the object will be checked in.

HW_API_CHECKIN_KEEP_TIME_MODIFIED

  Keeps the time modified from the most recent object.

HW_API_CHECKIN_NO_AUTO_COMMIT

  The object is not automatically committed on check-in.

See also hwapi_checkout().

add a note User Contributed Notes
hw_api->checkin
There are no user contributed notes for this page.
hw_api->checkout hw_api_attribute

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