Bitrix API

DisablerAgent

FinalYes

Agent for disabling limited edit mode after X days from the moment of first usage.

Table of Contents

Constants

AGENT_NAME  = self::class . '::disable();'
DEFAULT_ACTIVE_DAYS  = 10
OPTION_LIMITED_EDIT_UNTIL  = 'limited-edit-until'

Methods

disable()  : string
Agent. Disables limited edit mode after X days from the moment of first usage.
register()  : void

Constants

AGENT_NAME

public mixed AGENT_NAME = self::class . '::disable();'

OPTION_LIMITED_EDIT_UNTIL

public mixed OPTION_LIMITED_EDIT_UNTIL = 'limited-edit-until'

Methods

disable()

Agent. Disables limited edit mode after X days from the moment of first usage.

public static disable() : string
Return values
string

register()

public static register([int $activeDays = self::DEFAULT_ACTIVE_DAYS ]) : void
Parameters
$activeDays : int = self::DEFAULT_ACTIVE_DAYS

        
On this page

Search results