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
__construct()
public
__construct() : mixed
disableLimitEdit()
public
disableLimitEdit() : void
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
isLimitEditEnabled()
public
isLimitEditEnabled() : bool
Return values
boolwasLimitEditDisabled()
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.