class UserPreferenceService (View source)

Methods

string|null
getPreference(int $userId, string $key)

No description

void
setPreference(int $userId, string $key, string|null $value)

No description

array
getAllPreferences(int $userId)

No description

void
resetPreference(int $userId, string $key)

No description

void
resetAllPreferences(int $userId)

No description

int
getRowsPerPage(int $userId)

No description

void
setRowsPerPage(int $userId, int $rows)

No description

bool
getShowZoneSerial(int $userId)

No description

bool
getShowZoneTemplate(int $userId)

No description

bool
getShowZoneRecordCount(int $userId)

No description

string
getRecordFormPosition(int $userId)

No description

string
getSaveButtonPosition(int $userId)

No description

bool
getShowRecordId(int $userId)

No description

bool
getShowAddRecordForm(int $userId)

No description

bool
getShowRecordEditButton(int $userId)

No description

bool
getShowRecordDeleteButton(int $userId)

No description

bool
getDisplayHostnameOnly(int $userId)

No description

bool
getWideLayout(int $userId)

No description

void
clearCache()

No description

Details

__construct(UserPreferenceRepositoryInterface $repository, ConfigurationInterface $config)

No description

string|null getPreference(int $userId, string $key)

No description

Parameters

int $userId
string $key

Return Value

string|null

void setPreference(int $userId, string $key, string|null $value)

No description

Parameters

int $userId
string $key
string|null $value

Return Value

void

array getAllPreferences(int $userId)

No description

Parameters

int $userId

Return Value

array

void resetPreference(int $userId, string $key)

No description

Parameters

int $userId
string $key

Return Value

void

void resetAllPreferences(int $userId)

No description

Parameters

int $userId

Return Value

void

int getRowsPerPage(int $userId)

No description

Parameters

int $userId

Return Value

int

void setRowsPerPage(int $userId, int $rows)

No description

Parameters

int $userId
int $rows

Return Value

void

bool getShowZoneSerial(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getShowZoneTemplate(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getShowZoneRecordCount(int $userId)

No description

Parameters

int $userId

Return Value

bool

string getRecordFormPosition(int $userId)

No description

Parameters

int $userId

Return Value

string

string getSaveButtonPosition(int $userId)

No description

Parameters

int $userId

Return Value

string

bool getShowRecordId(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getShowAddRecordForm(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getShowRecordEditButton(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getShowRecordDeleteButton(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getDisplayHostnameOnly(int $userId)

No description

Parameters

int $userId

Return Value

bool

bool getWideLayout(int $userId)

No description

Parameters

int $userId

Return Value

bool

void clearCache()

No description

Return Value

void