DefaultController
extends Controller
in package
Table of Contents
Properties
- $ownerService : mixed
- $tokenManager : mixed
Methods
- __construct() : mixed
- addSellingAction() : JsonResponse
- dashboardAction() : mixed
- emailAction() : mixed
- envoyer un email
- exportAllAction() : mixed
- export all clients
- exportJsonAction() : JsonResponse
- export user data in JSON
- getMyExpensesAction() : JsonResponse
- get user expenses
- getMyProductsAction() : JsonResponse
- get user products
- historyAction() : mixed
- get the history of user's sellings
- importAction() : mixed
- indexAction() : mixed
- massCreateAction() : mixed
- import lots of products at once
- previsionnelAction() : mixed
- saveMyExpensesAction() : JsonResponse
- recieve the json containing the expanse config of a user
- setActiveFestivalAction() : mixed
Properties
$ownerService
private
mixed
$ownerService
$tokenManager
private
mixed
$tokenManager
Methods
__construct()
public
__construct([CsrfTokenManagerInterface $tokenManager = null ], OwnerService $ownerService) : mixed
Parameters
- $tokenManager : CsrfTokenManagerInterface = null
- $ownerService : OwnerService
addSellingAction()
public
addSellingAction(Request $request) : JsonResponse
Parameters
- $request : Request
-
add a selling record corresponding to one client
Return values
JsonResponsedashboardAction()
public
dashboardAction(Request $request) : mixed
Parameters
- $request : Request
Tags
emailAction()
envoyer un email
public
emailAction() : mixed
exportAllAction()
export all clients
public
exportAllAction() : mixed
Tags
exportJsonAction()
export user data in JSON
public
exportJsonAction() : JsonResponse
Tags
Return values
JsonResponsegetMyExpensesAction()
get user expenses
public
getMyExpensesAction() : JsonResponse
Return values
JsonResponsegetMyProductsAction()
get user products
public
getMyProductsAction() : JsonResponse
Return values
JsonResponsehistoryAction()
get the history of user's sellings
public
historyAction() : mixed
Tags
importAction()
public
importAction() : mixed
Tags
indexAction()
public
indexAction(Request $request) : mixed
Parameters
- $request : Request
Tags
massCreateAction()
import lots of products at once
public
massCreateAction(Request $request) : mixed
Parameters
- $request : Request
Tags
previsionnelAction()
public
previsionnelAction() : mixed
Tags
saveMyExpensesAction()
recieve the json containing the expanse config of a user
public
saveMyExpensesAction(Request $request) : JsonResponse
Parameters
- $request : Request
Return values
JsonResponse —the list of expanses
setActiveFestivalAction()
public
setActiveFestivalAction(mixed $id) : mixed
Parameters
- $id : mixed