Bitrix API

Calendar

Table of Contents

Methods

__construct()  : mixed
createFromPortalSchedule()  : static
getClosestDate()  : DateTime
getSchedule()  : ScheduleInterface
needUseCalendar()  : bool
needUseSchedule()  : bool

Methods

createFromPortalSchedule()

public static createFromPortalSchedule([array<string|int, mixed>|null $settings = null ]) : static
Parameters
$settings : array<string|int, mixed>|null = null
Return values
static

getClosestDate()

public getClosestDate(DateTime $date, int $offsetInSeconds[, bool $matchSchedule = false ][, bool $matchWorkTime = false ]) : DateTime
Parameters
$date : DateTime
$offsetInSeconds : int
$matchSchedule : bool = false
$matchWorkTime : bool = false
Return values
DateTime

needUseCalendar()

public static needUseCalendar(string $feature) : bool
Parameters
$feature : string
Return values
bool

needUseSchedule()

public static needUseSchedule() : bool
Return values
bool

        
On this page

Search results