Bitrix API

MethodSchedule implements iMethod

Table of Contents

Interfaces

iMethod

Methods

__construct()  : mixed
Constructor.
apply()  : void
Apply method.
getCode()  : string
Get code.
getNextDate()  : DateTime
Get next date.
getTimeList()  : array<string|int, mixed>
Get time list.
parseDaysOfMonth()  : array<string|int, mixed>|null
Parse days of month.
parseDaysOfWeek()  : array<string|int, mixed>|null
Parse days of week.
parseMonthsOfYear()  : array<string|int, mixed>|null
Parse months of year.
parseTimesOfDay()  : array<string|int, mixed>|null
Parse times of day.
revoke()  : void
Revoke method.
setDaysOfMonth()  : $this
Set days of month.
setDaysOfWeek()  : $this
Set days of week.
setMonthsOfYear()  : $this
Set month of year.
setTime()  : $this
Set time.

Methods

getCode()

Get code.

public getCode() : string
Return values
string

getTimeList()

Get time list.

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

parseDaysOfMonth()

Parse days of month.

public static parseDaysOfMonth(string $daysOfMonth) : array<string|int, mixed>|null
Parameters
$daysOfMonth : string

Days of month.

Return values
array<string|int, mixed>|null

parseDaysOfWeek()

Parse days of week.

public static parseDaysOfWeek(string $daysOfWeek) : array<string|int, mixed>|null
Parameters
$daysOfWeek : string

Days of week.

Return values
array<string|int, mixed>|null

parseMonthsOfYear()

Parse months of year.

public static parseMonthsOfYear(string $monthsOfYear) : array<string|int, mixed>|null
Parameters
$monthsOfYear : string

Months of year.

Return values
array<string|int, mixed>|null

parseTimesOfDay()

Parse times of day.

public static parseTimesOfDay(string $time) : array<string|int, mixed>|null
Parameters
$time : string

Time.

Return values
array<string|int, mixed>|null

setDaysOfMonth()

Set days of month.

public setDaysOfMonth(array<string|int, int> $days) : $this
Parameters
$days : array<string|int, int>

Days.

Return values
$this

setDaysOfWeek()

Set days of week.

public setDaysOfWeek(array<string|int, int> $days) : $this
Parameters
$days : array<string|int, int>

Days.

Return values
$this

setMonthsOfYear()

Set month of year.

public setMonthsOfYear(array<string|int, int> $months) : $this
Parameters
$months : array<string|int, int>

Months.

Return values
$this

setTime()

Set time.

public setTime(string $hours, string $minutes) : $this
Parameters
$hours : string

Hours.

$minutes : string

Minutes.

Return values
$this

        
On this page

Search results