1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс MethodSchedule
Граф наследования:MethodSchedule:
iMethod

Открытые члены

 __construct (Entity\Letter $letter)
 setDaysOfMonth (array $days)
 setDaysOfWeek (array $days)
 setMonthsOfYear (array $months)
 setTime ($hours, $minutes)
 getNextDate ()
 apply ()
 revoke ()
 getCode ()

Открытые статические члены

static parseDaysOfMonth ($daysOfMonth)
static parseDaysOfWeek ($daysOfWeek)
static parseMonthsOfYear ($monthsOfYear)
static parseTimesOfDay ($time)
static getTimeList ()

Защищенные данные

 $monthsOfYear = array()
 $daysOfMonth = array()
 $daysOfWeek = array()
 $hours = 0
 $minutes = 0

Подробное описание

См. определение в файле methodschedule.php строка 18

Конструктор(ы)

◆ __construct()

__construct ( Entity\Letter $letter)

Constructor.

Аргументы
Entity\Letter$letterLetter.

Замещает iMethod.

См. определение в файле methodschedule.php строка 43

Методы

◆ apply()

apply ( )

Apply method.

Возвращает
void

Замещает iMethod.

См. определение в файле methodschedule.php строка 213

◆ getCode()

getCode ( )

Get code.

Возвращает
string

Замещает iMethod.

См. определение в файле methodschedule.php строка 245

◆ getNextDate()

getNextDate ( )

Get next date.

Возвращает
DateTime
Исключения
NotImplementedException

См. определение в файле methodschedule.php строка 170

◆ getTimeList()

getTimeList ( )
static

Get time list.

Возвращает
array

См. определение в файле methodschedule.php строка 411

◆ parseDaysOfMonth()

parseDaysOfMonth ( $daysOfMonth)
static

Parse days of month.

Аргументы
string$daysOfMonthDays of month.
Возвращает
array|null

См. определение в файле methodschedule.php строка 256

◆ parseDaysOfWeek()

parseDaysOfWeek ( $daysOfWeek)
static

Parse days of week.

Аргументы
string$daysOfWeekDays of week.
Возвращает
array|null

См. определение в файле methodschedule.php строка 311

◆ parseMonthsOfYear()

parseMonthsOfYear ( $monthsOfYear)
static

Parse months of year.

Аргументы
string$monthsOfYearMonths of year.
Возвращает
array|null

См. определение в файле methodschedule.php строка 347

◆ parseTimesOfDay()

parseTimesOfDay ( $time)
static

Parse times of day.

Аргументы
string$timeTime.
Возвращает
array|null

См. определение в файле methodschedule.php строка 383

◆ revoke()

revoke ( )

Revoke method.

Возвращает
void

Замещает iMethod.

См. определение в файле methodschedule.php строка 231

◆ setDaysOfMonth()

setDaysOfMonth ( array $days)

Set days of month.

Аргументы
integer[]$daysDays.
Возвращает
$this

См. определение в файле methodschedule.php строка 54

◆ setDaysOfWeek()

setDaysOfWeek ( array $days)

Set days of week.

Аргументы
integer[]$daysDays.
Возвращает
$this

См. определение в файле methodschedule.php строка 66

◆ setMonthsOfYear()

setMonthsOfYear ( array $months)

Set month of year.

Аргументы
integer[]$monthsMonths.
Возвращает
$this

См. определение в файле methodschedule.php строка 78

◆ setTime()

setTime ( $hours,
$minutes )

Set time.

Аргументы
string$hoursHours.
string$minutesMinutes.
Возвращает
$this

См. определение в файле methodschedule.php строка 91

Поля

◆ $daysOfMonth

$daysOfMonth = array()
protected

См. определение в файле methodschedule.php строка 24

◆ $daysOfWeek

$daysOfWeek = array()
protected

См. определение в файле methodschedule.php строка 27

◆ $hours

$hours = 0
protected

См. определение в файле methodschedule.php строка 30

◆ $minutes

$minutes = 0
protected

См. определение в файле methodschedule.php строка 33

◆ $monthsOfYear

$monthsOfYear = array()
protected

См. определение в файле methodschedule.php строка 21


Объявления и описания членов класса находятся в файле: