PHP Class M1\Vars\Variables\VariableStore

Since: 1.0.0
Inheritance: extends M1\Vars\Resource\AbstractResource
Afficher le fichier Open project: m1/Vars Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

createPrefix() public méthode

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

createPrefixName() public méthode

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
Résultat string The new prefix

getPrefix() public méthode

Get the prefix
public getPrefix ( ) : string
Résultat string The prefix

setCurrentPrefix() public méthode

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