Bitrix API

Remind extends BaseProperty

Table of Contents

Constants

UNIT_DATES  = 'date'
UNIT_DAY_BEFORE  = 'daybefore'
UNIT_DAYS  = 'day'
UNIT_HOURS  = 'hour'
UNIT_MINUTES  = 'minutes'
UNIT_MONTHS  = 'months'
UNIT_SECONDS  = 'seconds'
UNIT_WEEKS  = 'weeks'
UNIT_YEARS  = 'years'

Methods

__construct()  : mixed
__toString()  : string
calculateDayBeforeToMinute()  : int
getDaysBefore()  : int|null
getEventStart()  : Date|null
getFields()  : array<string|int, mixed>
getMethod()  : string
getRank()  : int
getSpecificTime()  : Date
getTime()  : int|null
getTimeBeforeStartInMinutes()  : int
getTimeOffset()  : int
getUnits()  : string|null
isBeforeEventStart()  : bool
isSimpleType()  : bool
setDaysBefore()  : Remind
setEventStart()  : Remind
setSpecificTime()  : Remind
setTimeBeforeEvent()  : $this
toString()  : string

Constants

UNIT_DATES

public mixed UNIT_DATES = 'date'

UNIT_DAY_BEFORE

public mixed UNIT_DAY_BEFORE = 'daybefore'

UNIT_DAYS

public mixed UNIT_DAYS = 'day'

UNIT_HOURS

public mixed UNIT_HOURS = 'hour'

UNIT_MINUTES

public mixed UNIT_MINUTES = 'minutes'

UNIT_MONTHS

public mixed UNIT_MONTHS = 'months'

UNIT_SECONDS

public mixed UNIT_SECONDS = 'seconds'

UNIT_WEEKS

public mixed UNIT_WEEKS = 'weeks'

UNIT_YEARS

public mixed UNIT_YEARS = 'years'

Methods

__construct()

public __construct([string $method = 'popup' ]) : mixed
Parameters
$method : string = 'popup'

__toString()

public __toString() : string
Return values
string

calculateDayBeforeToMinute()

public static calculateDayBeforeToMinute(int $dayBefore, int $minute) : int
Parameters
$dayBefore : int
$minute : int
Return values
int

getDaysBefore()

public getDaysBefore() : int|null
Return values
int|null

getEventStart()

public getEventStart() : Date|null
Return values
Date|null

Clone of date event start

getFields()

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

getMethod()

public getMethod() : string
Return values
string

getRank()

public getRank() : int
Return values
int

getTime()

public getTime() : int|null
Return values
int|null

getTimeBeforeStartInMinutes()

public getTimeBeforeStartInMinutes() : int
Return values
int

getUnits()

public getUnits() : string|null
Return values
string|null

isBeforeEventStart()

public isBeforeEventStart() : bool
Return values
bool

isSimpleType()

public isSimpleType() : bool
Return values
bool

setDaysBefore()

public setDaysBefore(int $daysBefore) : Remind
Parameters
$daysBefore : int
Return values
Remind

setTimeBeforeEvent()

public setTimeBeforeEvent([int $time = 15 ][, string $units = self::UNIT_MINUTES ]) : $this
Parameters
$time : int = 15
$units : string = self::UNIT_MINUTES
Return values
$this

        
On this page

Search results