Services webmasters
Partenaires
Jeux concours gratuits
 
hw_insertobject
<<<
hw_mapid hw_modifyobject
>>>

7.37 Hyperwave
7 Index des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
Intégration avec Apache
Configuration à l'exécution
Types de ressources
Constantes prédefinies
A faire
hw_array2objrec
hw_changeobject
hw_children
hw_childrenobj
hw_close
hw_connect
hw_connection_info
hw_cp
hw_deleteobject
hw_docbyanchor
hw_docbyanchorobj
hw_document_attributes
hw_document_bodytag
hw_document_content
hw_document_setcontent
hw_document_size
hw_dummy
hw_edittext
hw_error
hw_errormsg
hw_free_document
hw_getanchors
hw_getanchorsobj
hw_getandlock
hw_getchildcoll
hw_getchildcollobj
hw_getchilddoccoll
hw_getchilddoccollobj
hw_getobject
hw_getobjectbyquery
hw_getobjectbyquerycoll
hw_getobjectbyquerycollobj
hw_getobjectbyqueryobj
hw_getparents
hw_getparentsobj
hw_getrellink
hw_getremote
hw_getremotechildren
hw_getsrcbydestobj
hw_gettext
hw_username
hw_identify
hw_incollections
hw_info
hw_inscoll
hw_insdoc
hw_insertanchors
hw_insertdocument
hw_insertobject
->hw_mapid
hw_modifyobject
hw_mv
hw_stat
hw_unlock
hw_who

7.37.58 hw_mapid()Représente un id global en un id virtuel local

[ Exemples avec hw_mapid ]   PHP 3>= 3.0.13, PHP 4

int  hw_mapid ( int   connection , int   server_id , int   object_id )

hw_mapid représente l'id d'un objet global de n'importe quel serveur Hyperwave, même si vous ne vous y êtes pas connecté avec hw_connect , avec un id d'objet local virtuel. Cet id d'objet local peut alors être utilisé comme n'importe quel id d'objet : par exemple on peut obtenir l'enregistrement d'objet avec la fonction hw_getobject . L'id du serveur est la première partie de l'id global (GOid) de l'objet, qui est en fait une adresse IP.

Note: Afin d'utiliser cette fonction, vous devez lever le flag F_DISTRIBUTED, ce qui ne peut être fait qu'à la compilation. Par défaut, il n'est pas levé. Lisez les commentaires dans le fichier hg_comm.c

<< hw_mapid >>
hw_insertobject Hyperwave hw_modifyobject
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -