GoLang hw_api::checkout

request it (95)
GoLang replacement for PHP's hw_api::checkout [edit | history]

Do you know a GoLang replacement for PHP's hw_api::checkout? Write it!

PHP hw_api::checkout

PHP original manual for hw_api::checkout [ show | php.net ]


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



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

Checks out an object. The object must be a document.
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.

Return Values

Returns TRUE on success or FALSE on failure.

See Also