Services webmasters
Partenaires
Jeux concours gratuits
 
hw_api->link
<<<
hw_api->lock hw_api->move
>>>

7.38 Hyperwave API
7 Index des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
intégration dans Apache
Configuration à l'exécution
Types de ressources
Constantes prédefinies
Classes
hw_api_attribute->key
hw_api_attribute->langdepvalue
hw_api_attribute->value
hw_api_attribute->values
hw_api_attribute
hw_api->checkin
hw_api->checkout
hw_api->children
hw_api_content->mimetype
hw_api_content->read
hw_api->content
hw_api->copy
hw_api->dbstat
hw_api->dcstat
hw_api->dstanchors
hw_api->dstofsrcanchors
hw_api_error->count
hw_api_error->reason
hw_api->find
hw_api->ftstat
hwapi_hgcsp
hw_api->hwstat
hw_api->identify
hw_api->info
hw_api->insert
hw_api->insertanchor
hw_api->insertcollection
hw_api->insertdocument
hw_api->link
->hw_api->lock
hw_api->move
hw_api->content
hw_api_object->assign
hw_api_object->attreditable
hw_api_object->count
hw_api_object->insert
hw_api_object
hw_api_object->remove
hw_api_object->title
hw_api_object->value
hw_api->object
hw_api->objectbyanchor
hw_api->parents
hw_api_reason->description
hw_api_reason->type
hw_api->remove
hw_api->replace
hw_api->setcommitedversion
hw_api->srcanchors
.&nb

7.38.38 hw_api->lock()Verrouille un objet

[ Exemples avec hwapi_lock ]   CVS uniquement

object  lock ( array   parameter )

hw_api->lock verrouille un objet pour le faire éditer exclusivement par l'utilisateur qui appelle cette fonction. L'objet ne peut être déverrouillé que par cet utilisateur ou par le système. Le paramètre parameter est un tableau qui contient l'élément obligatoire 'objectIdentifier' et les paramètres optionnels 'mode' et 'objectquery'. 'mode' détermine comment l'objet est verrouillé. HW_API_LOCK_NORMAL signifie que le 'objet est verrouillé jusqu'à son déverrouillage. HW_API_LOCK_RECURSIVE est uniquement valide pour une collection et verrouille tous les objets de la collexion et des sous-collections. HW_API_LOCK_SESSION signifie que l'objet est verrouillé aussi longtemps que tient la session en cours.

Voir aussi hwapi_unlock .

<< hw_api->lock >>
hw_api->link Hyperwave API hw_api->move
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -