DocProtect
extends AbstractEnum
in package
FinalYes
Document Protection Types.
Tags
Table of Contents
Constants
- COMMENTS = 'comments'
- Allow Editing of Comments.
- FORMS = 'forms'
- Allow Editing of Form Fields.
- NONE = 'none'
- No Editing Restrictions.
- READ_ONLY = 'readOnly'
- Allow No Editing.
- TRACKED_CHANGES = 'trackedChanges'
- Allow Editing With Revision Tracking.
Properties
- $constCacheArray : mixed
Methods
- isValid() : bool
- Returns true the value is valid for this enum.
- validate() : void
- Validates that the value passed is a valid value.
- values() : array<string|int, mixed>
- Returns all values for this enum.
- getConstants() : mixed
Constants
COMMENTS
Allow Editing of Comments.
public
mixed
COMMENTS
= 'comments'
FORMS
Allow Editing of Form Fields.
public
mixed
FORMS
= 'forms'
NONE
No Editing Restrictions.
public
mixed
NONE
= 'none'
READ_ONLY
Allow No Editing.
public
mixed
READ_ONLY
= 'readOnly'
TRACKED_CHANGES
Allow Editing With Revision Tracking.
public
mixed
TRACKED_CHANGES
= 'trackedChanges'
Properties
$constCacheArray
private
static mixed
$constCacheArray
Methods
isValid()
Returns true the value is valid for this enum.
public
static isValid(string $value) : bool
Parameters
- $value : string
Return values
bool —true if value is valid
validate()
Validates that the value passed is a valid value.
public
static validate(string $value) : void
Parameters
- $value : string
values()
Returns all values for this enum.
public
static values() : array<string|int, mixed>
Return values
array<string|int, mixed>getConstants()
private
static getConstants() : mixed