MetaFox

PointSettingRepository extends AbstractRepository
in package
implements PointSettingRepositoryInterface

Class PointSettingRepository.

Tags
SuppressWarnings

(PHPMD.CouplingBetweenObjects)

Table of Contents

Interfaces

PointSettingRepositoryInterface
Interface PointSettingRepositoryInterface.

Properties

$disableSponsor  : mixed
$skipPresenter  : mixed

Methods

activateSetting()  : PointSetting
buildQueryScopes()  : mixed
cleanContent()  : string|null
cleanTitle()  : string|null
clonePointSettings()  : void
createMany()  : bool
deactivateSetting()  : PointSetting
find()  : PointSetting
getAllPackageId()  : array<string|int, mixed>
getAllPointSetting()  : Collection
getModel()  : PointSetting
getModuleOptions()  : array<int, mixed>
getSettingActionsByPackageId()  : array<int, mixed>
getUserContractMorphTypeColumns()  : array<string|int, string>
getUserPointSetting()  : PointSetting|null
hasSponsorView()  : bool
isNoSponsorView()  : bool
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
model()  : string
updateSetting()  : PointSetting
viewSettings()  : Collection
viewSettingsAdmin()  : Paginator
where()  : $this
withUserMorphTypeActiveScope()  : self
checkPointDecreased()  : PointSetting|null
checkPointIncreased()  : PointSetting|null
getPointSetting()  : PointSetting|null

Properties

Methods

buildQueryScopes()

public buildQueryScopes(mixed $query, mixed $model, mixed $criteria) : mixed
Parameters
$query : mixed
$model : mixed
$criteria : mixed

cleanContent()

public cleanContent(string|null $string) : string|null
Parameters
$string : string|null
Return values
string|null

cleanTitle()

public cleanTitle(string|null $string) : string|null
Parameters
$string : string|null
Return values
string|null

clonePointSettings()

public clonePointSettings(int $destRoleId, int $sourceRoleId) : void
Parameters
$destRoleId : int
$sourceRoleId : int

createMany()

public createMany(array<string|int, mixed> $items) : bool
Parameters
$items : array<string|int, mixed>
Return values
bool

getAllPackageId()

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

getModuleOptions()

public getModuleOptions() : array<int, mixed>
Tags
inheritDoc
Return values
array<int, mixed>

getSettingActionsByPackageId()

public getSettingActionsByPackageId(string $packageId) : array<int, mixed>
Parameters
$packageId : string
Tags
inheritDoc
Return values
array<int, mixed>

getUserContractMorphTypeColumns()

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

hasSponsorView()

public hasSponsorView(array<string|int, mixed> $attributes) : bool
Parameters
$attributes : array<string|int, mixed>
Return values
bool

isNoSponsorView()

public isNoSponsorView(string|null $view) : bool
Parameters
$view : string|null
Return values
bool

likeOperator()

return the case-insensitive LIKE operator bases on the current database driver.

public likeOperator() : string
Return values
string

updateSetting()

public updateSetting(User $context, int $id, array<string|int, mixed> $attributes) : PointSetting
Parameters
$context : User
$id : int
$attributes : array<string|int, mixed>
Tags
inheritDoc
throws
AuthorizationException
Return values
PointSetting

viewSettings()

public viewSettings(User $context, array<string|int, mixed> $attributes) : Collection
Parameters
$context : User
$attributes : array<string|int, mixed>
Tags
inheritDoc
throws
AuthorizationException
Return values
Collection

viewSettingsAdmin()

public viewSettingsAdmin(User $context, array<string|int, mixed> $attributes) : Paginator
Parameters
$context : User
$attributes : array<string|int, mixed>
Tags
inheritDoc
throws
AuthorizationException
Return values
Paginator

where()

public where(array<string|int, mixed> $params) : $this
Parameters
$params : array<string|int, mixed>
Tags
throws
RepositoryException
Return values
$this

withUserMorphTypeActiveScope()

public withUserMorphTypeActiveScope() : self
Return values
self

        
On this page

Search results