CompanyController
extends AbstractActionController
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- jobListAction() : ViewModel
- Action that displays a list of all jobs or a list of jobs for a company.
- jobsAction() : ViewModel
- Action to list a single job of a certain company.
- listAction() : ViewModel
- Action to display a list of all non-hidden companies.
- showAction() : ViewModel
- spotlightAction() : ViewModel
- Action that shows the 'company in the spotlight' and the article written by the company in the current language.
Properties
$companyQueryService read-only
private
CompanyQuery
$companyQueryService
$companyService read-only
private
Company
$companyService
Methods
__construct()
public
__construct(Company $companyService, CompanyQuery $companyQueryService) : mixed
Parameters
- $companyService : Company
- $companyQueryService : CompanyQuery
jobListAction()
Action that displays a list of all jobs or a list of jobs for a company.
public
jobListAction() : ViewModel
TODO: If the slug in the current locale is different from the slug parameter, redirect.
Return values
ViewModeljobsAction()
Action to list a single job of a certain company.
public
jobsAction() : ViewModel
Return values
ViewModellistAction()
Action to display a list of all non-hidden companies.
public
listAction() : ViewModel
Return values
ViewModelshowAction()
public
showAction() : ViewModel
Return values
ViewModelspotlightAction()
Action that shows the 'company in the spotlight' and the article written by the company in the current language.
public
spotlightAction() : ViewModel