update : 2015.11.03
php.shukuma.com

검색:
 
 
Checks out an object

hw_api::checkout

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)

hw_api::checkoutChecks out an object

설명

bool hw_api::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를 반환합니다.