PropertyOperation Property

This property shows the operation to perform on a property when calling PatchProperties .

Object Oriented Interface

public function getPropertyOperation($propertyindex);
public function setPropertyOperation($propertyindex, $value);

Procedural Interface

ipworks_webdav_get($res, 40 , $propertyindex);
ipworks_webdav_set($res, 40, $value , $propertyindex);

Default Value

0

Remarks

This property shows the operation to perform on a property when calling PatchProperties.

This is used when the class sends a property patch request to the server. When a call is made to PatchProperties, the class will use the PropertyOperation to tell the server what to do under the following scheme:

opNone (0)No operation will be performed on the property.
opSet (1)The value of PropertyName will be set to PropertyValue.
opDelete (2)The property defined by PropertyName will be removed from its resource.

The $propertyindex parameter specifies the index of the item in the array. The size of the array is controlled by the PropertyCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]