Update
bool CIBlockPropertyEnum::Update( int ID, array arFields );
The method modifies the value option.
Parameters
Parameter | Description |
---|---|
ID | Option ID. |
arFields | An array of the format Array("field"=>"value", ...). Contains values of all fields of a property value option. |
Return Values
Returns true on success, or false otherwise.
See Also
Example
<? $ibpenum = new CIBlockPropertyEnum; $ibpenum->Update($PROPERTY_ENUM_ID, Array('VALUE'=>'Enum 1')); ?>
© «Bitrix24», 2001-2024