UserPreferenceService
class UserPreferenceService (View source)
Methods
__construct(UserPreferenceRepositoryInterface $repository, ConfigurationInterface $config)
No description
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
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