PointSettingRepositoryInterface
in
Interface PointSettingRepositoryInterface.
Table of Contents
Methods
- activateSetting() : PointSetting
- clonePointSettings() : void
- deactivateSetting() : PointSetting
- getAllPackageId() : array<string|int, mixed>
- getAllPointSetting() : Collection
- getModuleOptions() : array<int, mixed>
- getSettingActionsByPackageId() : array<int, mixed>
- getUserPointSetting() : PointSetting|null
- updateSetting() : PointSetting
- viewSettings() : Collection
- viewSettingsAdmin() : Paginator
Methods
activateSetting()
public
activateSetting(User $context, int $id) : PointSetting
Parameters
- $context : User
- $id : int
Return values
PointSettingclonePointSettings()
public
clonePointSettings(int $destRoleId, int $sourceRoleId) : void
Parameters
- $destRoleId : int
- $sourceRoleId : int
deactivateSetting()
public
deactivateSetting(User $context, int $id) : PointSetting
Parameters
- $context : User
- $id : int
Return values
PointSettinggetAllPackageId()
public
getAllPackageId() : array<string|int, mixed>
Return values
array<string|int, mixed>getAllPointSetting()
public
getAllPointSetting() : Collection
Return values
CollectiongetModuleOptions()
public
getModuleOptions() : array<int, mixed>
Return values
array<int, mixed>getSettingActionsByPackageId()
public
getSettingActionsByPackageId(string $packageId) : array<int, mixed>
Parameters
- $packageId : string
Tags
Return values
array<int, mixed>getUserPointSetting()
public
getUserPointSetting(User $user, Entity $resource, string $action, int $type) : PointSetting|null
Parameters
Return values
PointSetting|nullupdateSetting()
public
updateSetting(User $context, int $id, array<string, mixed> $attributes) : PointSetting
Parameters
- $context : User
- $id : int
- $attributes : array<string, mixed>
Return values
PointSettingviewSettings()
public
viewSettings(User $context, array<string, mixed> $attributes) : Collection
Parameters
- $context : User
- $attributes : array<string, mixed>
Return values
CollectionviewSettingsAdmin()
public
viewSettingsAdmin(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>