hw_api::checkin
(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)
hw_api::checkin — Checks in an object
Описание
bool hw_api::checkin
( array $parameter
)
-
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.
Список параметров
-
parameter
-
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.