MetaFox

CancelReasonAdminRepository extends AbstractRepository
in package
implements CancelReasonAdminRepositoryInterface

* @property Model $model

Table of Contents

Interfaces

CancelReasonAdminRepositoryInterface
Interface CancelReason.

Properties

$disableSponsor  : mixed
$skipPresenter  : mixed

Methods

buildQueryScopes()  : mixed
cleanContent()  : string|null
cleanTitle()  : string|null
createMany()  : bool
createReason()  : CancelReason
deleteReason()  : bool
find()  : CancelReason
getModel()  : CancelReason
getReasonsForForm()  : Collection
getUserContractMorphTypeColumns()  : array<string|int, string>
hasSponsorView()  : bool
isNoSponsorView()  : bool
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
model()  : string
orderReasons()  : bool
updateReason()  : CancelReason
viewReasons()  : Paginator
where()  : $this
withUserMorphTypeActiveScope()  : self

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

createMany()

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

deleteReason()

public deleteReason(User $context, int $id) : bool
Parameters
$context : User
$id : int
Tags
inheritDoc
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
bool

getReasonsForForm()

public getReasonsForForm(User $context) : Collection
Parameters
$context : User
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
Collection

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

orderReasons()

public orderReasons(User $context[, array<string|int, mixed> $ids = [] ]) : bool
Parameters
$context : User
$ids : array<string|int, mixed> = []
Tags
inheritDoc
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
bool

viewReasons()

public viewReasons(User $context[, array<string|int, mixed> $attributes = [] ]) : Paginator
Parameters
$context : User
$attributes : array<string|int, mixed> = []
Tags
inheritDoc
SuppressWarnings

(PHPMD.UnusedFormalParameter)

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