hw_document_content
<<<
hw_document_setcontent hw_document_size
>>>

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_new_document
. hw_objrec2array
. hw_output_document
. hw_pconnect
. hw_pipedocument
. hw_root
. hw_setlinkroot
. hw_stat
. hw_unlock
. hw_who

7.37.23 hw_document_setcontent()Modifie/remplace le contenu d'un document

[ Exemples avec hw_document_setcontent ]   PHP 4

string  hw_document_setcontent ( int   hw_document , string   content )

hw_document_setcontent modifie/remplace le contenu du document hw_document par la valeur de content . Si le document est un document HTML, le contenu représente tout qui est placé au-delà de la balise BODY. Les informations de HEAD et de la balise BODY sont enregistrés dans les attributs. Si vous fournissez aussi ces informations dans le corps du document, le serveur Hyperwave modifiera les attributs. Cela n'est cependant pas une bonne idée. Si la fonction échoue, l'ancien contenu est restauré.

Voir aussi hw_document_attributes , hw_document_size et hw_document_content .

Pour la compatibilité ascendente, hw_documentsetcontent est aussi accepté, mais il est déconseillé.

<< hw_document_setcontent >>
hw_document_content Hyperwave hw_document_size