PHP 클래스 Kimai_Config_Settings

Holds user and system specific configurations, where user settings can override system settings.
상속: extends Kimai_ArrayObject
파일 보기 프로젝트 열기: kimai/kimai

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
getDefaults ( ) : array Return default settings for the application.

메소드 상세

__construct() 공개 메소드

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

getDefaultLocation() 공개 메소드

public getDefaultLocation ( ) : string
리턴 string

getDefaults() 보호된 메소드

Return default settings for the application.
protected getDefaults ( ) : array
리턴 array

getLanguage() 공개 메소드

Returns the language to be displayed
public getLanguage ( ) : string | null
리턴 string | null

getQuickDeleteType() 공개 메소드

public getQuickDeleteType ( ) : integer
리턴 integer

getRowLimit() 공개 메소드

public getRowLimit ( ) : integer
리턴 integer

getSkin() 공개 메소드

Returns the skin to be used
public getSkin ( ) : string | null
리턴 string | null

getSublistAnnotationType() 공개 메소드

getSystemLanguage() 공개 메소드

system language is set in admin extended panel
public getSystemLanguage ( ) : string | null
리턴 string | null

getUserLanguage() 공개 메소드

Returns the user specific language or an empty string if not configured.
public getUserLanguage ( ) : string
리턴 string

isFlipProjectDisplay() 공개 메소드

public isFlipProjectDisplay ( ) : boolean
리턴 boolean

isHideClearedEntries() 공개 메소드

public isHideClearedEntries ( ) : boolean
리턴 boolean

isShowAfterRecorded() 공개 메소드

public isShowAfterRecorded ( ) : boolean
리턴 boolean

isShowComments() 공개 메소드

public isShowComments ( ) : boolean
리턴 boolean

isShowIds() 공개 메소드

public isShowIds ( ) : boolean
리턴 boolean

isShowOverlapLines() 공개 메소드

public isShowOverlapLines ( ) : boolean
리턴 boolean

isShowProjectComment() 공개 메소드

public isShowProjectComment ( ) : boolean
리턴 boolean

isShowQuickDelete() 공개 메소드

public isShowQuickDelete ( ) : boolean
리턴 boolean

isShowQuickNote() 공개 메소드

public isShowQuickNote ( ) : boolean
리턴 boolean

isShowTrackingNumber() 공개 메소드

Can be configured by the user himself.
public isShowTrackingNumber ( ) : boolean
리턴 boolean

isUseAutoSelection() 공개 메소드

public isUseAutoSelection ( ) : boolean
리턴 boolean

isUseSmoothFading() 공개 메소드

public isUseSmoothFading ( ) : boolean
리턴 boolean

isUserListHidden() 공개 메소드

public isUserListHidden ( ) : boolean
리턴 boolean

setSkin() 공개 메소드

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