Stud.IP  5.4
HolidaysShow Class Reference
Inheritance diagram for HolidaysShow:
NonJsonApiController

Public Member Functions

 __construct (ContainerInterface $container, QueryParserInterface $queryParser)
 
 __invoke (Request $request, Response $response, $args)
 
- Public Member Functions inherited from NonJsonApiController
 __construct (ContainerInterface $container)
 
 __invoke (Request $request, Response $response, array $args)
 
 invoke (Request $request, Response $response, array $args)
 

Protected Attributes

 $allowedFilteringParameters = ['year', 'month', 'day']
 
- Protected Attributes inherited from NonJsonApiController
 $container
 

Additional Inherited Members

- Protected Member Functions inherited from NonJsonApiController
 getUser (Request $request)
 
 getSchema ($resource)
 

Detailed Description

List all holidays for a specific time period.

Filter are allowed for year, month and days. You must specify a year in order to filter by a month and you must specify a month in order to filter by a day.

If no filter is set, a filter the current year is assumed.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ContainerInterface  $container,
QueryParserInterface  $queryParser 
)

Member Function Documentation

◆ __invoke()

__invoke ( Request  $request,
Response  $response,
  $args 
)

Field Documentation

◆ $allowedFilteringParameters

$allowedFilteringParameters = ['year', 'month', 'day']
protected

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