AdminController
extends AbstractActionController
in package
Tags
Table of Contents
Properties
- $aclService : AclService
- $companyQueryService : CompanyQuery
- $companyService : Company
- $translator : Translator
Methods
- __construct() : mixed
- addCategoryAction() : Response|ViewModel
- addCompanyAction() : Response|array<string|int, mixed>
- Action that allows adding a company.
- addJobAction() : Response|ViewModel
- Action that allows adding a job.
- addLabelAction() : Response|ViewModel
- addPackageAction() : Response|ViewModel
- Action that allows adding a package.
- deleteCompanyAction() : Response|ViewModel
- Action that first asks for confirmation, and when given, deletes the company.
- deleteJobAction() : Response|ViewModel
- Action to delete a job.
- deletePackageAction() : Response|ViewModel
- Action that first asks for confirmation, and when given, deletes the Package.
- editCategoryAction() : ViewModel
- Action that displays a form for editing a category.
- editCompanyAction() : Response|array<string|int, mixed>|ViewModel
- Action that displays a form for editing a company.
- editJobAction() : Response|ViewModel
- Action that displays a form for editing a job.
- editLabelAction() : ViewModel
- Action that displays a form for editing a label.
- editPackageAction() : Response|ViewModel
- Action that displays a form for editing a package.
- flashMessenger() : FlashMessenger
- indexAction() : ViewModel
- Action that displays the main page.
- indexCategoriesAction() : ViewModel
- indexLabelsAction() : ViewModel
- uploadCompanyImageAction() : JsonModel
Properties
$aclService read-only
private
AclService
$aclService
$companyQueryService read-only
private
CompanyQuery
$companyQueryService
$companyService read-only
private
Company
$companyService
$translator read-only
private
Translator
$translator
Methods
__construct()
public
__construct(AclService $aclService, Translator $translator, Company $companyService, CompanyQuery $companyQueryService) : mixed
Parameters
- $aclService : AclService
- $translator : Translator
- $companyService : Company
- $companyQueryService : CompanyQuery
addCategoryAction()
public
addCategoryAction() : Response|ViewModel
Return values
Response|ViewModeladdCompanyAction()
Action that allows adding a company.
public
addCompanyAction() : Response|array<string|int, mixed>
Return values
Response|array<string|int, mixed>addJobAction()
Action that allows adding a job.
public
addJobAction() : Response|ViewModel
Return values
Response|ViewModeladdLabelAction()
public
addLabelAction() : Response|ViewModel
Return values
Response|ViewModeladdPackageAction()
Action that allows adding a package.
public
addPackageAction() : Response|ViewModel
Return values
Response|ViewModeldeleteCompanyAction()
Action that first asks for confirmation, and when given, deletes the company.
public
deleteCompanyAction() : Response|ViewModel
Return values
Response|ViewModeldeleteJobAction()
Action to delete a job.
public
deleteJobAction() : Response|ViewModel
Return values
Response|ViewModeldeletePackageAction()
Action that first asks for confirmation, and when given, deletes the Package.
public
deletePackageAction() : Response|ViewModel
Return values
Response|ViewModeleditCategoryAction()
Action that displays a form for editing a category.
public
editCategoryAction() : ViewModel
Return values
ViewModeleditCompanyAction()
Action that displays a form for editing a company.
public
editCompanyAction() : Response|array<string|int, mixed>|ViewModel
Return values
Response|array<string|int, mixed>|ViewModeleditJobAction()
Action that displays a form for editing a job.
public
editJobAction() : Response|ViewModel
Return values
Response|ViewModeleditLabelAction()
Action that displays a form for editing a label.
public
editLabelAction() : ViewModel
Return values
ViewModeleditPackageAction()
Action that displays a form for editing a package.
public
editPackageAction() : Response|ViewModel
Return values
Response|ViewModelflashMessenger()
public
flashMessenger() : FlashMessenger
Return values
FlashMessengerindexAction()
Action that displays the main page.
public
indexAction() : ViewModel
Return values
ViewModelindexCategoriesAction()
public
indexCategoriesAction() : ViewModel
Return values
ViewModelindexLabelsAction()
public
indexLabelsAction() : ViewModel
Return values
ViewModeluploadCompanyImageAction()
public
uploadCompanyImageAction() : JsonModel