Bitrix API

TimeLimiter implements iLimiter

Table of Contents

Interfaces

iLimiter
Interface iLimiter

Constants

DEFAULT_SENDING_END  = '18:00'
DEFAULT_SENDING_START  = '09:00'

Methods

create()  : static
Create instance.
getCaption()  : string|null
Get caption.
getCurrent()  : int
Get current.
getLimit()  : int
Get max.
getParameter()  : mixed|null
Get parameter.
getUnit()  : string
Get unit.
getUnitName()  : string
Get unit name.
isHidden()  : bool
Returns true if limiter should be hidden on the CRM-marketing settings page
prepareMessageConfiguration()  : mixed
add options SENDING_START and SENDING_END to the Message Configuration
prepareMessageConfigurationView()  : mixed
add options view SENDING_START and SENDING_END to the Message Configuration
setParameter()  : $this
Set parameter.
withLetter()  : mixed

Constants

DEFAULT_SENDING_END

public mixed DEFAULT_SENDING_END = '18:00'

DEFAULT_SENDING_START

public mixed DEFAULT_SENDING_START = '09:00'

Methods

create()

Create instance.

public static create() : static
Return values
static

getCaption()

Get caption.

public getCaption() : string|null
Tags
inheritDoc
Return values
string|null

getCurrent()

Get current.

public getCurrent() : int
Tags
inheritDoc
Return values
int

getLimit()

Get max.

public getLimit() : int
Tags
inheritDoc
Return values
int

getParameter()

Get parameter.

public getParameter(mixed $name) : mixed|null
Parameters
$name : mixed

Name.

Tags
inheritDoc
Return values
mixed|null

getUnit()

Get unit.

public getUnit() : string
Tags
inheritDoc
Return values
string

getUnitName()

Get unit name.

public getUnitName() : string
Tags
inheritDoc
Return values
string

isHidden()

Returns true if limiter should be hidden on the CRM-marketing settings page

public isHidden() : bool
Tags
inheritDoc
Return values
bool

prepareMessageConfiguration()

add options SENDING_START and SENDING_END to the Message Configuration

public static prepareMessageConfiguration(mixed $configuration) : mixed
Parameters
$configuration : mixed

prepareMessageConfigurationView()

add options view SENDING_START and SENDING_END to the Message Configuration

public static prepareMessageConfigurationView(mixed $configuration) : mixed
Parameters
$configuration : mixed

setParameter()

Set parameter.

public setParameter(mixed $name, mixed $value) : $this
Parameters
$name : mixed

Name.

$value : mixed

Value.

Tags
inheritDoc
Return values
$this

withLetter()

public withLetter(mixed $letter) : mixed
Parameters
$letter : mixed

        
On this page

Search results