hw_api->info
<<<
hw_api->insert hw_api->insertanchor
>>>

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
. hw_api->srcsofdst
. hw_api->unlock
. hw_api->user
. hw_api->userlist

7.38.33 hw_api->insert()Insère un nouvel objet

[ Exemples avec hwapi_insert ]   CVS uniquement

object  insert ( array   parameter )

hw_api->insert insère un nouvel objet. Le type d'objet peut être user, group, document ou anchor. Suivant le type de l'autre objet, des attributs supplémentaires doivent être assignés. Le paramètre parameter est un tableau qui contient les élément obligatoires 'object' et 'content' (si l'objet est un document) et les éléments optionnels 'parameters', 'mode' et 'attributeSelector'. 'object' doit contenir tous les attributs de l'objet. 'parameters' est un objet, qu contient les attributs supplémentaires, comme ceux de destination (attribut 'Parent'). 'content' est une combinaison des constantes suivantes :

    HW_API_INSERT_NORMAL
    L'object est inseré sur le serveur.
    HW_API_INSERT_FORCE-VERSION-CONTROL
    HW_API_INSERT_AUTOMATIC-CHECKOUT
    HW_API_INSERT_PLAIN
    HW_API_INSERT_KEEP_TIME_MODIFIED
    HW_API_INSERT_DELAY_INDEXING

Voir aussi hwapi_replace .

<< hw_api->insert >>
hw_api->info Hyperwave API hw_api->insertanchor