Documentation

AppointmentsManager
in package

Table of Contents

COL_EMPLOYEE  = 'employee'
COL_ENABLE  = 'enable'
COL_FLOW  = 'flow'
COL_ID  = 'id'
COL_PASSAGE_DT  = 'passage_dt'
COL_REASON  = 'reason'
COL_START_DT  = 'start_dt'
COL_STATUS  = 'status'
COL_UUID  = 'uuid'
SERVICE_NAME  = 'appointments.manager'
TABLE_NAME  = 'edc_appointments'
$database  : Explorer
Экземпляр сервиса для работы с базой данных
__construct()  : mixed
add()  : ActiveRow
Добавляет новую запись в таблицу назначения
delete()  : void
find()  : Selection
Возвращает все записи таблицы назначения
findByEmployee()  : Selection
get()  : ActiveRow
Возвращает экземпляр назначения
getActiveAppointmentsByEmployee()  : Selection
update()  : ActiveRow
Обновляет запись в таблице назначения

Constants

Properties

$database

Экземпляр сервиса для работы с базой данных

private Explorer $database

Methods

__construct()

public __construct(Explorer $database) : mixed
Parameters
$database : Explorer
Return values
mixed

add()

Добавляет новую запись в таблицу назначения

public add(iteratable<string|int, mixed> $values) : ActiveRow
Parameters
$values : iteratable<string|int, mixed>
Return values
ActiveRow

find()

Возвращает все записи таблицы назначения

public find() : Selection
Return values
Selection

findByEmployee()

public findByEmployee(int $id) : Selection
Parameters
$id : int
Return values
Selection

getActiveAppointmentsByEmployee()

public getActiveAppointmentsByEmployee(int $id) : Selection
Parameters
$id : int
Return values
Selection

update()

Обновляет запись в таблице назначения

public update(int $id, iteratable<string|int, mixed> $values) : ActiveRow
Parameters
$id : int
$values : iteratable<string|int, mixed>
Tags
throws
AppointmentNotFoundException
Return values
ActiveRow

Search results