NumberOfSalesCronController
extends BaseCronController
in package
Class BaseCronController
Table of Contents
Properties
- $em : EntityManager
- $trans : Translator|NativeArray
- $handler : HandlerComponent
- Cronjob handler.
- $modules : array<string|int, Module>
- Api modules.
- $start : float
- Cronjob start in microtime.
- $clientRepository : ClientRepository
- $movementCreditRepository : MovementCreditRepository
Methods
- __destruct() : mixed
- Finish cronjob and log the report.
- execPrep() : mixed
- exportNumberOfSaleTransactionsPerMonthAction() : mixed
- exportNumberOfSaleTransactionsPerMonthAndClientsSubscribedInPeriodAction() : mixed
- initialize() : mixed
- Disable view render and start cronjob.
- sumhelp() : mixed
Properties
$em read-only
public
EntityManager
$em
$trans read-only
public
Translator|NativeArray
$trans
$handler
Cronjob handler.
protected
HandlerComponent
$handler
$modules
Api modules.
protected
array<string|int, Module>
$modules
$start
Cronjob start in microtime.
protected
float
$start
$clientRepository
private
ClientRepository
$clientRepository
$movementCreditRepository
private
MovementCreditRepository
$movementCreditRepository
Methods
__destruct()
Finish cronjob and log the report.
public
__destruct() : mixed
execPrep()
public
execPrep(mixed $s, mixed $b, mixed $t) : mixed
Parameters
- $s : mixed
- $b : mixed
- $t : mixed
exportNumberOfSaleTransactionsPerMonthAction()
public
exportNumberOfSaleTransactionsPerMonthAction(int $year) : mixed
Parameters
- $year : int
exportNumberOfSaleTransactionsPerMonthAndClientsSubscribedInPeriodAction()
public
exportNumberOfSaleTransactionsPerMonthAndClientsSubscribedInPeriodAction(int $startYear, int $endYear) : mixed
Parameters
- $startYear : int
- $endYear : int
initialize()
Disable view render and start cronjob.
public
initialize() : mixed
sumhelp()
public
sumhelp(mixed $h2Body) : mixed
Parameters
- $h2Body : mixed