Documentation

app.option.set

app.option.set(
   options
)

The method binds data to an application.

Parameters

Method Description Available from version
options Array where the key is the name of saved property, and the value - property value.
When a new key value is specified, the method will write it. If key has an existing value, the method will update it.

Examples

CRest::call('app.option.set',[
           "options"=>[
               'data' => 'value',
               'data2' => 'value2',
           ]
       ]);
CRest::call('app.option.set',[
           "options"=>[
               'data' => 'NewValue',                
           ]
       ]),


© «Bitrix24», 2001-2024