PHP 클래스 PartKeepr\SystemPreferenceBundle\Entity\SystemPreference

System preferences are a simple key => value mechanism, where the developer can specify the key and value himself. Note that values are stored internally as serialized PHP values to keep their type.
파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
getPreferenceKey ( ) : string Returns the key of this entry.
getPreferenceValue ( ) : mixed Returns the value for this entry.
setPreferenceKey ( string $key ) Sets the key for this user preference.
setPreferenceValue ( mixed $value ) Sets the value for this entry.

메소드 상세

getPreferenceKey() 공개 메소드

Returns the key of this entry.
public getPreferenceKey ( ) : string
리턴 string

getPreferenceValue() 공개 메소드

Returns the value for this entry.
public getPreferenceValue ( ) : mixed
리턴 mixed The value

setPreferenceKey() 공개 메소드

Sets the key for this user preference.
public setPreferenceKey ( string $key )
$key string The key name

setPreferenceValue() 공개 메소드

Sets the value for this entry.
public setPreferenceValue ( mixed $value )
$value mixed