PHP Class Kimai_Config_Settings

Holds user and system specific configurations, where user settings can override system settings.
Inheritance: extends Kimai_ArrayObject
Afficher le fichier Open project: kimai/kimai

Méthodes publiques

Méthode Description
__construct ( array $settings = [] ) Setup the configuration object with the given array.
getDefaultLocation ( ) : string
getLanguage ( ) : string | null Returns the language to be displayed
getQuickDeleteType ( ) : integer
getRowLimit ( ) : integer
getSkin ( ) : string | null Returns the skin to be used
getSublistAnnotationType ( ) : integer
getSystemLanguage ( ) : string | null system language is set in admin extended panel
getUserLanguage ( ) : string Returns the user specific language or an empty string if not configured.
isFlipProjectDisplay ( ) : boolean
isHideClearedEntries ( ) : boolean
isShowAfterRecorded ( ) : boolean
isShowComments ( ) : boolean
isShowIds ( ) : boolean
isShowOverlapLines ( ) : boolean
isShowProjectComment ( ) : boolean
isShowQuickDelete ( ) : boolean
isShowQuickNote ( ) : boolean
isShowTrackingNumber ( ) : boolean Whether the user sees the tracking number in its timesheet.
isUseAutoSelection ( ) : boolean
isUseSmoothFading ( ) : boolean
isUserListHidden ( ) : boolean
setSkin ( $skin ) Sets the skin to be used

Méthodes protégées

Méthode Description
getDefaults ( ) : array Return default settings for the application.

Method Details

__construct() public méthode

Setup the configuration object with the given array.
public __construct ( array $settings = [] )
$settings array

getDefaultLocation() public méthode

public getDefaultLocation ( ) : string
Résultat string

getDefaults() protected méthode

Return default settings for the application.
protected getDefaults ( ) : array
Résultat array

getLanguage() public méthode

Returns the language to be displayed
public getLanguage ( ) : string | null
Résultat string | null

getQuickDeleteType() public méthode

public getQuickDeleteType ( ) : integer
Résultat integer

getRowLimit() public méthode

public getRowLimit ( ) : integer
Résultat integer

getSkin() public méthode

Returns the skin to be used
public getSkin ( ) : string | null
Résultat string | null

getSublistAnnotationType() public méthode

public getSublistAnnotationType ( ) : integer
Résultat integer

getSystemLanguage() public méthode

system language is set in admin extended panel
public getSystemLanguage ( ) : string | null
Résultat string | null

getUserLanguage() public méthode

Returns the user specific language or an empty string if not configured.
public getUserLanguage ( ) : string
Résultat string

isFlipProjectDisplay() public méthode

public isFlipProjectDisplay ( ) : boolean
Résultat boolean

isHideClearedEntries() public méthode

public isHideClearedEntries ( ) : boolean
Résultat boolean

isShowAfterRecorded() public méthode

public isShowAfterRecorded ( ) : boolean
Résultat boolean

isShowComments() public méthode

public isShowComments ( ) : boolean
Résultat boolean

isShowIds() public méthode

public isShowIds ( ) : boolean
Résultat boolean

isShowOverlapLines() public méthode

public isShowOverlapLines ( ) : boolean
Résultat boolean

isShowProjectComment() public méthode

public isShowProjectComment ( ) : boolean
Résultat boolean

isShowQuickDelete() public méthode

public isShowQuickDelete ( ) : boolean
Résultat boolean

isShowQuickNote() public méthode

public isShowQuickNote ( ) : boolean
Résultat boolean

isShowTrackingNumber() public méthode

Can be configured by the user himself.
public isShowTrackingNumber ( ) : boolean
Résultat boolean

isUseAutoSelection() public méthode

public isUseAutoSelection ( ) : boolean
Résultat boolean

isUseSmoothFading() public méthode

public isUseSmoothFading ( ) : boolean
Résultat boolean

isUserListHidden() public méthode

public isUserListHidden ( ) : boolean
Résultat boolean

setSkin() public méthode

Sets the skin to be used
public setSkin ( $skin )
$skin