Bitrix API

Scheduler

FinalYes

Table of Contents

Constants

DEFAULT_DURATION  = 9

Methods

__construct()  : mixed
convertDurationToUnits()  : mixed
defineDates()  : mixed
Initialize START_DATE_PLAN and END_DATE_PLAN if they were not initialized In gantt.js it called setRealDates()
reSchedule()  : mixed
Reschedule everyting: the task itself and its related tasks
reScheduleRelatedTasks()  : mixed
Reschedule related tasks of the current task
reScheduleTask()  : mixed
Reschedule only current task
sync()  : mixed

Constants

DEFAULT_DURATION

public mixed DEFAULT_DURATION = 9

Methods

__construct()

public __construct(mixed $userId, mixed $task[, array<string|int, mixed> $taskData = array() ][, Calendar $calendar = null ]) : mixed
Parameters
$userId : mixed
$task : mixed
$taskData : array<string|int, mixed> = array()
$calendar : Calendar = null

convertDurationToUnits()

public static convertDurationToUnits([mixed $duration = 0 ][, mixed $preferredUnits = CTasks::TIME_UNIT_TYPE_HOUR ]) : mixed
Parameters
$duration : mixed = 0
$preferredUnits : mixed = CTasks::TIME_UNIT_TYPE_HOUR

defineDates()

Initialize START_DATE_PLAN and END_DATE_PLAN if they were not initialized In gantt.js it called setRealDates()

public defineDates() : mixed

reSchedule()

Reschedule everyting: the task itself and its related tasks

public reSchedule(array<string|int, mixed> $newData) : mixed
Parameters
$newData : array<string|int, mixed>

reScheduleRelatedTasks()

Reschedule related tasks of the current task

public reScheduleRelatedTasks() : mixed

reScheduleTask()

Reschedule only current task

public reScheduleTask(array<string|int, mixed> $newData) : mixed
Parameters
$newData : array<string|int, mixed>

        
On this page

Search results