PHP 클래스 M1\Vars\Variables\VariableStore

부터: 1.0.0
상속: extends M1\Vars\Resource\AbstractResource
파일 보기 프로젝트 열기: m1/Vars 1 사용 예제들

공개 메소드들

메소드 설명
createPrefix ( boolean $relative ) Creates a relative prefix for the store
createPrefixName ( string $prefix, string $key ) : string Creates a new prefix name for the store
getPrefix ( ) : string Get the prefix
setCurrentPrefix ( string $prefix ) Sets the current prefix

메소드 상세

createPrefix() 공개 메소드

Creates a relative prefix for the store
public createPrefix ( boolean $relative )
$relative boolean Is the prefix relative

createPrefixName() 공개 메소드

Creates a new prefix name for the store
public createPrefixName ( string $prefix, string $key ) : string
$prefix string The prefix for the store
$key string The key for the item
리턴 string The new prefix

getPrefix() 공개 메소드

Get the prefix
public getPrefix ( ) : string
리턴 string The prefix

setCurrentPrefix() 공개 메소드

Sets the current prefix
public setCurrentPrefix ( string $prefix )
$prefix string The new prefix