您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

hw_api->checkout

(No version information available, might be only in CVS)

hw_api->checkout — Checks out an object

说明

hw_api
bool checkout ( array $parameter )

This function checks out an object or a whole hierarchy of objects.

参数

parameter

The parameters array contains the required element 'objectIdentifier' and the optional element 'version', 'mode' and 'objectQuery'. 'mode' can be one of the following values:

HW_API_CHECKIN_NORMAL
Checks out an object. The object must be a document.
HW_API_CHECKIN_RECURSIVE
If the object to check out is a collection, all children will be checked out recursively if they are documents. Trying to check out a collection would result in an error.

返回值

如果成功则返回 TRUE,失败则返回 FALSE