hw_Modifyobject

hw_Modifyobject -- modifies object record

Description

int hw_modifyobject ( int connection, int object_to_change, array remove, array add, int mode)

Esimerkki 1 . modifying an attribute




In order to delete/add a name=value pair from/to the object record just pass the remove/add array and set the last/third parameter to an empty array. If the attribute is the first one with that name to add, set attribute value in the remove array to an integer.

Esimerkki 2 . adding a completely new attribute






Huomaa :

Esimerkki 3 . modifying Title attribute




or

Esimerkki 4 . modifying Title attribute




This removes the english title 'Books' and adds the english title 'Articles' and the german title 'Artikel'.

Esimerkki 5 . removing attribute




Huomaa :

Huomaa :

Huomaa :

Huomaa :

Huomaa :