PHP Interface Sulu\Component\Content\Document\Behavior\ShadowLocaleBehavior

Mostra file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getShadowLocale ( ) : string Return the shadow locale.
isShadowLocaleEnabled ( ) : boolean Return the activation state of the shadow locale feature.
setShadowLocale ( $shadowLocale ) Set the shadow locale.
setShadowLocaleEnabled ( $shadowLocaleEnabled ) Enable or disable the shadow locale.

Method Details

getShadowLocale() public method

Return the shadow locale.
public getShadowLocale ( ) : string
return string

isShadowLocaleEnabled() public method

Return the activation state of the shadow locale feature.
public isShadowLocaleEnabled ( ) : boolean
return boolean

setShadowLocale() public method

Set the shadow locale.
public setShadowLocale ( $shadowLocale )

setShadowLocaleEnabled() public method

Enable or disable the shadow locale.
public setShadowLocaleEnabled ( $shadowLocaleEnabled )