ShiftRepository
Table of Contents
Methods
-
delete()
: mixed
-
deleteShiftPlans()
: mixed
-
findById()
: Shift|null
-
findByIdAndScheduleId()
: mixed
-
findByIdWithSchedule()
: Shift|null
-
findScheduleById()
: mixed
-
findScheduleIdByShiftId()
: mixed
-
findShiftsBySchedule()
: ShiftCollection
-
getActiveShiftsQuery()
: EO_Shift_Query
-
markShiftDeleted()
: mixed
-
save()
: AddResult|UpdateResult
delete()
public
delete(mixed $id) : mixed
Parameters
-
$id
: mixed
-
deleteShiftPlans()
public
deleteShiftPlans(mixed $shiftIds[, mixed $userIds = [] ]) : mixed
Parameters
-
$shiftIds
: mixed
-
-
$userIds
: mixed
= []
-
findById()
public
findById(mixed $id) : Shift|null
Parameters
-
$id
: mixed
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
findByIdAndScheduleId()
public
findByIdAndScheduleId(mixed $shiftId, mixed $scheduleId) : mixed
Parameters
-
$shiftId
: mixed
-
-
$scheduleId
: mixed
-
findByIdWithSchedule()
public
findByIdWithSchedule(mixed $shiftId) : Shift|null
Parameters
-
$shiftId
: mixed
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
findScheduleById()
public
findScheduleById(mixed $scheduleId) : mixed
Parameters
-
$scheduleId
: mixed
-
findScheduleIdByShiftId()
public
findScheduleIdByShiftId(mixed $shiftId) : mixed
Parameters
-
$shiftId
: mixed
-
findShiftsBySchedule()
public
findShiftsBySchedule(mixed $scheduleId) : ShiftCollection
Parameters
-
$scheduleId
: mixed
-
getActiveShiftsQuery()
public
getActiveShiftsQuery() : EO_Shift_Query
-
throws
-
ArgumentException
-
throws
-
SystemException
Return values
EO_Shift_Query
markShiftDeleted()
public
markShiftDeleted(mixed $shiftId) : mixed
Parameters
-
$shiftId
: mixed
-
save()
public
save(Shift $shift) : AddResult|UpdateResult
Parameters
-
$shift
: Shift
-