Bitrix API

Configuration

FinalYes

Table of Contents

Constants

OPTION_LIMIT_EDIT  = 'edit-time-limited-onlyoffice-access'

Methods

__construct()  : mixed
disableLimitEdit()  : void
enableLimitEdit()  : void
Enables limited document edit.
isLimitEditEnabled()  : bool
wasLimitEditDisabled()  : bool
Shows if limit edit was disabled.

Constants

OPTION_LIMIT_EDIT

public mixed OPTION_LIMIT_EDIT = 'edit-time-limited-onlyoffice-access'

Methods

enableLimitEdit()

Enables limited document edit.

public enableLimitEdit() : void

When somebody edits document first time on the portal, we setup agent to get the trial feature back.

Tags
see
Bitrix24Scenario::trackFirstEditForLimitedEdit
see
DisablerAgent::disable
throws
ArgumentOutOfRangeException

isLimitEditEnabled()

public isLimitEditEnabled() : bool
Return values
bool

wasLimitEditDisabled()

Shows if limit edit was disabled.

public wasLimitEditDisabled() : bool

It's neccessary to understand that limit edit was disabled by value 'N' becase it happens when we trial period is over.

It means that we already have disabled time limited edit and we should not enable it again.

Return values
bool

        
On this page

Search results