PHP 클래스 Neos\Neos\Domain\Model\UserPreferences

This is a very naïve, rough and temporary implementation of a User Preferences container. We'll need a better one which understands which options are available and contains some information about possible help texts etc.
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$preferences array The actual settings

공개 메소드들

메소드 설명
get ( string $key ) : mixed
getInterfaceLanguage ( ) : string
getPreferences ( ) : array Get preferences
set ( string $key, mixed $value ) : void
setInterfaceLanguage ( string $localeIdentifier ) : void
setPreferences ( array $preferences ) : void

메소드 상세

get() 공개 메소드

public get ( string $key ) : mixed
$key string
리턴 mixed

getInterfaceLanguage() 공개 메소드

public getInterfaceLanguage ( ) : string
리턴 string the locale identifier

getPreferences() 공개 메소드

Get preferences
public getPreferences ( ) : array
리턴 array

set() 공개 메소드

public set ( string $key, mixed $value ) : void
$key string
$value mixed
리턴 void

setInterfaceLanguage() 공개 메소드

public setInterfaceLanguage ( string $localeIdentifier ) : void
$localeIdentifier string
리턴 void

setPreferences() 공개 메소드

public setPreferences ( array $preferences ) : void
$preferences array
리턴 void

프로퍼티 상세

$preferences 보호되어 있는 프로퍼티

The actual settings
protected array $preferences
리턴 array