class UserInterfaceMode (View source)

Describes the mode in which the Neos interface is rendering currently, mainly distinguishing between edit and preview modes currently.

Properties

protected string $name
protected bool $preview
protected bool $edit
protected string $fusionPath
protected string $title
protected array $options

Methods

string
getName()

No description

void
setName(string $name)

No description

bool
isPreview()

No description

void
setPreview(bool $preview)

No description

bool
isEdit()

No description

void
setEdit(bool $edit)

No description

string
getFusionPath()

No description

void
setFusionPath(string $fusionPath)

No description

string
getTitle()

No description

void
setTitle(string $title)

No description

array
getOptions()

No description

mixed
getOptionByPath(string $path)

No description

void
setOptions(array $options)

No description

createByConfiguration(string $modeName, array $configuration)

Creates an UserInterfaceMode object by configuration

Details

string getName()

No description

Return Value

string

void setName(string $name)

No description

Parameters

string $name

Return Value

void

bool isPreview()

No description

Return Value

bool

void setPreview(bool $preview)

No description

Parameters

bool $preview

Return Value

void

bool isEdit()

No description

Return Value

bool

void setEdit(bool $edit)

No description

Parameters

bool $edit

Return Value

void

string getFusionPath()

No description

Return Value

string

void setFusionPath(string $fusionPath)

No description

Parameters

string $fusionPath

Return Value

void

string getTitle()

No description

Return Value

string

void setTitle(string $title)

No description

Parameters

string $title

Return Value

void

array getOptions()

No description

Return Value

array

mixed getOptionByPath(string $path)

No description

Parameters

string $path

Return Value

mixed

void setOptions(array $options)

No description

Parameters

array $options

Return Value

void

static UserInterfaceMode createByConfiguration(string $modeName, array $configuration)

Creates an UserInterfaceMode object by configuration

Parameters

string $modeName
array $configuration

Return Value

UserInterfaceMode