Pletacka website Nette documentation
Documentation for pletacka project
Public Member Functions | List of all members
App\CoreModule\Model\WorkShiftManager Class Reference

Manage work shifts. More...

Public Member Functions

 __construct (Context $database)
 
 getWS (int $year, int $week)
 
 getWSHour (DateTime $dt)
 
 setWS ($year, $week, $wsFirst, $wsSecond)
 
 updateWS ($year, $week, $wsFirst, $wsSecond)
 
 setYear ($year, $wsFirst, $wsSecond)
 
 getActualWS ()
 
 getWeekWS ()
 
 getWsTable (int $startYear)
 

Detailed Description

Manage work shifts.

Constructor & Destructor Documentation

◆ __construct()

App\CoreModule\Model\WorkShiftManager::__construct ( Context  $database)

Member Function Documentation

◆ getActualWS()

App\CoreModule\Model\WorkShiftManager::getActualWS ( )

◆ getWeekWS()

App\CoreModule\Model\WorkShiftManager::getWeekWS ( )

◆ getWS()

App\CoreModule\Model\WorkShiftManager::getWS ( int  $year,
int  $week 
)

◆ getWSHour()

App\CoreModule\Model\WorkShiftManager::getWSHour ( DateTime  $dt)

◆ getWsTable()

App\CoreModule\Model\WorkShiftManager::getWsTable ( int  $startYear)

◆ setWS()

App\CoreModule\Model\WorkShiftManager::setWS (   $year,
  $week,
  $wsFirst,
  $wsSecond 
)

◆ setYear()

App\CoreModule\Model\WorkShiftManager::setYear (   $year,
  $wsFirst,
  $wsSecond 
)

◆ updateWS()

App\CoreModule\Model\WorkShiftManager::updateWS (   $year,
  $week,
  $wsFirst,
  $wsSecond 
)

The documentation for this class was generated from the following file: