MetaFox

AccountSettingRepository extends AbstractRepository
in package
implements AccountSettingRepositoryInterface

Class AccountSettingRepository.

Tags
SuppressWarnings

(PHPMD.CouplingBetweenObjects)

SuppressWarnings

(PHPMD.ExcessiveClassComplexity)

SuppressWarnings

(PHPMD.CyclomaticComplexity)

SuppressWarnings

(PHPMD.NPathComplexity)

SuppressWarnings

(PHPMD.ExcessiveClassLength)

SuppressWarnings

(PHPMD.TooManyMethods)

SuppressWarnings

(PHPMD.ExcessiveMethodLength)

Table of Contents

Interfaces

AccountSettingRepositoryInterface
AccountSettingRepositoryInterface.

Properties

$model  : User
$disableSponsor  : mixed
$skipPresenter  : mixed

Methods

buildQueryScopes()  : mixed
cleanContent()  : string|null
cleanTitle()  : string|null
createMany()  : bool
find()  : User
getAccountSettings()  : array<string|int, mixed>
getModel()  : User
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
Specify Model class name.
where()  : $this
withUserMorphTypeActiveScope()  : self
canEditCancelAccountSetting()  : bool
getAccountSettingActions()  : array<string|int, mixed>
getAccountSettingDialogs()  : array<string|int, mixed>
getAccountSettingFields()  : array<string|int, mixed>
getAccountSettingOrdering()  : array<string|int, mixed>
getCancelAccountSetting()  : array<string|int, mixed>
getCurrencyIdSetting()  : array<string|int, mixed>
getLanguageIdSetting()  : array<string|int, mixed>
getPasswordSetting()  : array<string|int, mixed>
handleExtraData()  : array<string|int, mixed>
handleFields()  : array<string|int, mixed>
shouldSkipField()  : bool

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

getAccountSettings()

public getAccountSettings(User $user) : array<string|int, mixed>
Parameters
$user : User
Return values
array<string|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

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

getAccountSettingActions()

protected getAccountSettingActions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAccountSettingDialogs()

protected getAccountSettingDialogs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAccountSettingFields()

protected getAccountSettingFields(User $user) : array<string|int, mixed>
Parameters
$user : User
Return values
array<string|int, mixed>

getAccountSettingOrdering()

protected getAccountSettingOrdering() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCancelAccountSetting()

protected getCancelAccountSetting(User $user, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$user : User
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

getCurrencyIdSetting()

protected getCurrencyIdSetting(User $user, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$user : User
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

getLanguageIdSetting()

protected getLanguageIdSetting(User $user, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$user : User
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

getPasswordSetting()

protected getPasswordSetting(User $user, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$user : User
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

handleExtraData()

protected handleExtraData(User $user, string $name, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$user : User
$name : string
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

handleFields()

protected handleFields(User $user, array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$user : User
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

shouldSkipField()

protected shouldSkipField(string $fieldName, User $user) : bool
Parameters
$fieldName : string
$user : User
Return values
bool

        
On this page

Search results