Bitrix API

DelayInterval

Table of Contents

Constants

TYPE_AFTER  = 'after'
TYPE_BEFORE  = 'before'
TYPE_IN  = 'in'

Methods

__construct()  : mixed
DelayInterval constructor.
createFromActivityProperties()  : DelayInterval
getBasis()  : mixed
getInTime()  : array<string|int, mixed>|null
getType()  : mixed
getValue()  : mixed
getValueType()  : mixed
isActivated()  : bool
isNow()  : bool
Checks if interval equals to Now.
isWaitWorkDay()  : bool
isWorkTime()  : mixed
setActivated()  : void
setBasis()  : DelayInterval
setInTime()  : $this
setType()  : DelayInterval
setValue()  : DelayInterval
setValueType()  : DelayInterval
setWaitWorkDay()  : $this
setWorkTime()  : $this
toActivityProperties()  : array<string|int, mixed>
Converts instance to activity properties array.
toArray()  : array<string|int, mixed>
Converts instance to array.

Constants

Methods

__construct()

DelayInterval constructor.

public __construct([array<string|int, mixed>|null $params = null ]) : mixed
Parameters
$params : array<string|int, mixed>|null = null

Initial parameters.

createFromActivityProperties()

public static createFromActivityProperties(array<string|int, mixed> $properties) : DelayInterval
Parameters
$properties : array<string|int, mixed>

Activity properties.

Return values
DelayInterval

getInTime()

public getInTime() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

isActivated()

public isActivated() : bool
Return values
bool

isNow()

Checks if interval equals to Now.

public isNow() : bool
Return values
bool

isWaitWorkDay()

public isWaitWorkDay() : bool
Return values
bool

setActivated()

public setActivated(bool $activated) : void
Parameters
$activated : bool

setInTime()

public setInTime(array<string|int, mixed>|null $inTime) : $this
Parameters
$inTime : array<string|int, mixed>|null
Return values
$this

setWaitWorkDay()

public setWaitWorkDay(bool $flag) : $this
Parameters
$flag : bool
Return values
$this

setWorkTime()

public setWorkTime(bool $flag) : $this
Parameters
$flag : bool

True of false.

Return values
$this

toActivityProperties()

Converts instance to activity properties array.

public toActivityProperties(array<string|int, mixed> $documentType) : array<string|int, mixed>
Parameters
$documentType : array<string|int, mixed>

Document type.

Return values
array<string|int, mixed>

toArray()

Converts instance to array.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results