Documentation

ApiJobHandlerComponent extends Injectable
in package
uses TraitUploadHelper

Table of Contents

Properties

$apiBatch  : mixed
$cache  : mixed
$reportUser  : mixed

Methods

addCache()  : self
Set the value of cache
addMultiUseCache()  : mixed
if something validated which and maybe need to recheck pass to this, and check this with a simple condition
createAfterRemoveJob()  : mixed
createApiRemoveJob()  : mixed
createBeforeRemoveJob()  : mixed
createExtenderDataJob()  : mixed
createJob()  : mixed
createMovementArrangeAndAfterJob()  : mixed
createMovementRemoveJob()  : mixed
dateChecker()  : mixed
getAlreadyAdded()  : mixed
if a value already validated or used and not need to recheck
getApiFile()  : mixed
Get the value of apiBatch.
getCache()  : mixed
Get the value of cache
getReportListByMovementAwaitingDelete()  : mixed
markInApiBatch()  : bool
runScenarioAndPlaceActivity()  : mixed
setApiFile()  : self
Set the value of apiBatch.
setFileProgress()  : mixed
dateHasTime()  : mixed
getCacheName()  : mixed
getDateFromString()  : mixed

Properties

Methods

addCache()

Set the value of cache

public addCache(mixed $name, mixed $value) : self
Parameters
$name : mixed
$value : mixed
Return values
self

addMultiUseCache()

if something validated which and maybe need to recheck pass to this, and check this with a simple condition

public addMultiUseCache(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

createAfterRemoveJob()

public static createAfterRemoveJob(int $userId[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
$userId : int
$params : array<string|int, mixed> = []

createApiRemoveJob()

public createApiRemoveJob(int $batchId[, int $userId = null ][, array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
$batchId : int
$userId : int = null
$parameters : array<string|int, mixed> = []

createBeforeRemoveJob()

public static createBeforeRemoveJob(int $batchId, int $userId[, array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
$batchId : int
$userId : int
$parameters : array<string|int, mixed> = []

createExtenderDataJob()

public static createExtenderDataJob(int $userId[, int $batchId = null ]) : mixed
Parameters
$userId : int
$batchId : int = null

createJob()

public static createJob(int $userId, int $batchId[, mixed $parameters = null ]) : mixed
Parameters
$userId : int
$batchId : int
$parameters : mixed = null

createMovementArrangeAndAfterJob()

public createMovementArrangeAndAfterJob(int $userId) : mixed
Parameters
$userId : int

createMovementRemoveJob()

public createMovementRemoveJob(int $userId[, array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
$userId : int
$parameters : array<string|int, mixed> = []

dateChecker()

public dateChecker(mixed $key, mixed $row) : mixed
Parameters
$key : mixed
$row : mixed

getAlreadyAdded()

if a value already validated or used and not need to recheck

public getAlreadyAdded(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

getCache()

Get the value of cache

public getCache(mixed $name) : mixed
Parameters
$name : mixed

getReportListByMovementAwaitingDelete()

public getReportListByMovementAwaitingDelete(int $userId) : mixed
Parameters
$userId : int

markInApiBatch()

public static markInApiBatch(mixed $batchId[, int $hide = 0 ][, string $transId = null ]) : bool
Parameters
$batchId : mixed
$hide : int = 0
$transId : string = null
Return values
bool

runScenarioAndPlaceActivity()

public runScenarioAndPlaceActivity(int $userId, int $batchId) : mixed
Parameters
$userId : int
$batchId : int

setApiFile()

Set the value of apiBatch.

public setApiFile(mixed $apiBatch) : self
Parameters
$apiBatch : mixed
Return values
self

setFileProgress()

public setFileProgress(mixed $status[, mixed $inProgressStatus = 1 ]) : mixed
Parameters
$status : mixed
$inProgressStatus : mixed = 1

dateHasTime()

private dateHasTime(string $date) : mixed
Parameters
$date : string

getCacheName()

private getCacheName(string $modelName[, mixed $indexedTo = null ]) : mixed
Parameters
$modelName : string
$indexedTo : mixed = null

getDateFromString()

private getDateFromString(string $value) : mixed
Parameters
$value : string

        
On this page

Search results