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',                
           ]
       ]),


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2020, «Bitrix Inc.», 2020