MetaFox

ActionType
in package
implements ActionType

Table of Contents

Interfaces

ActionType

Methods

createActionTypesData()  : array<string|int, mixed>
getActionType()  : ActionType|null
getActionTypeOptions()  : array<string|int, mixed>
migrateTransactionExistPointSetting()  : void
migrateTransactionNotExistPointSetting()  : void
setupActionTypesInterpolateFromTransaction()  : void
setupCustomActionTypes()  : void
setupDefaultActionTypes()  : void
driverRepository()  : DriverRepositoryInterface
getActivityPointService()  : ActivityPoint
applyPackageFilter()  : void
buildStoreActions()  : array<string|int, mixed>
buildStoreConditions()  : array<string|int, mixed>
buildStorePointSettings()  : array<string|int, mixed>
createCustomActionTypesData()  : array<string|int, mixed>
createDefaultActionTypesData()  : array<string|int, mixed>
getActivityPointActionsFromListener()  : array<string|int, mixed>
loadActions()  : array<string|int, mixed>
loadEntities()  : array<string|int, mixed>
shouldContinueForTransactionMapping()  : bool
shouldCreateActionTypesData()  : bool
transactionMapping()  : array<string|int, mixed>
upsertActionTypes()  : void

Methods

createActionTypesData()

public createActionTypesData(string $packageId, mixed $resource, array<string|int, mixed> $actions) : array<string|int, mixed>
Parameters
$packageId : string
$resource : mixed
$actions : array<string|int, mixed>
Return values
array<string|int, mixed>

getActionTypeOptions()

public getActionTypeOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

migrateTransactionExistPointSetting()

public migrateTransactionExistPointSetting([string|null $packageId = null ]) : void
Parameters
$packageId : string|null = null

migrateTransactionNotExistPointSetting()

public migrateTransactionNotExistPointSetting([string|null $packageId = null ]) : void
Parameters
$packageId : string|null = null

setupActionTypesInterpolateFromTransaction()

public setupActionTypesInterpolateFromTransaction([string|null $packageId = null ]) : void
Parameters
$packageId : string|null = null

setupCustomActionTypes()

public setupCustomActionTypes([string|null $packageId = null ]) : void
Parameters
$packageId : string|null = null

setupDefaultActionTypes()

public setupDefaultActionTypes([string|null $packageId = null ]) : void
Parameters
$packageId : string|null = null

applyPackageFilter()

private applyPackageFilter(Builder $query, string|null $packageId) : void
Parameters
$query : Builder
$packageId : string|null

buildStoreActions()

private buildStoreActions() : array<string|int, mixed>
Return values
array<string|int, mixed>

buildStoreConditions()

private buildStoreConditions(array<string|int, mixed> $storePointSettings[, string|null $packageId = null ]) : array<string|int, mixed>
Parameters
$storePointSettings : array<string|int, mixed>
$packageId : string|null = null
Return values
array<string|int, mixed>

buildStorePointSettings()

private buildStorePointSettings([string|null $packageId = null ]) : array<string|int, mixed>
Parameters
$packageId : string|null = null
Return values
array<string|int, mixed>

createCustomActionTypesData()

private createCustomActionTypesData(array<string|int, mixed> $customActions) : array<string|int, mixed>
Parameters
$customActions : array<string|int, mixed>
Return values
array<string|int, mixed>

createDefaultActionTypesData()

private createDefaultActionTypesData(array<string|int, mixed> $entities, array<string|int, mixed> $actions) : array<string|int, mixed>
Parameters
$entities : array<string|int, mixed>
$actions : array<string|int, mixed>
Return values
array<string|int, mixed>

getActivityPointActionsFromListener()

private getActivityPointActionsFromListener(string $packageId) : array<string|int, mixed>
Parameters
$packageId : string
Return values
array<string|int, mixed>

loadActions()

private loadActions(string|null $packageId) : array<string|int, mixed>
Parameters
$packageId : string|null
Return values
array<string|int, mixed>

loadEntities()

private loadEntities(string|null $packageId) : array<string|int, mixed>
Parameters
$packageId : string|null
Return values
array<string|int, mixed>

shouldContinueForTransactionMapping()

private shouldContinueForTransactionMapping(string|null $packageId, string $transactionPackageId) : bool
Parameters
$packageId : string|null
$transactionPackageId : string
Return values
bool

shouldCreateActionTypesData()

private shouldCreateActionTypesData(string $packageId, mixed $resource, array<string|int, mixed> $actions) : bool
Parameters
$packageId : string
$resource : mixed
$actions : array<string|int, mixed>
Return values
bool

transactionMapping()

private transactionMapping() : array<string|int, mixed>
Return values
array<string|int, mixed>

upsertActionTypes()

private upsertActionTypes(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

        
On this page

Search results