hw_getchilddoccollobj
<<<
hw_getobject hw_getobjectbyquery
>>>

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.37 hw_getobject()Lit les attributs d'un objet Hyperwave

[ Exemples avec hw_getobject ]   PHP 3>= 3.0.3, PHP 4

array  hw_getobject ( int   connection , mixed   objectid , string   query )

hw_getobject retourne les attributs de l'objet dont l'identifiant est objectid , si le second paramètre est un entier. Si le second paramètre est un tableau, la fonction retournera un tableau d'attributs. Dans ce cas, le dernier paramètre est aussi évalué.

query a la syntaxe suivante :

<expression> ::= "(" <expression> ")" |

"!" <expression> | /* NOT */

<expression> "||" <expression> | /* OR */

<expression> "&&" <expression> | /* AND */

<attribute> <operator> <value>

<attribute> ::= /* * n'importe quel attribut (Title, Author, DocumentType ...) */

<operator> ::= "=" | /* égal */

"<" | /* moins que (comparaison de type chaîne) */

">" | /* plus que (comparaison de type chaîne) */

"~" /* recherche par expression régulière */

query permet de sélectionner une nouvelle fois certains objets dans la liste des objets donnés. Contrairement aux autres requêtes, celle-ci peut utiliser des attributs non indexés. Le nombre d'attributs retourné dépend de la requête de la requête, et des autorisations d'accès aux objets.

Voir aussi hw_getandlock et hw_getobjectbyquery .

<< hw_getobject >>
hw_getchilddoccollobj Hyperwave hw_getobjectbyquery