PHP Class Neos\Neos\Domain\Model\UserInterfaceMode

Show file Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$edit boolean
$name string
$options array
$preview boolean
$title string
$typoScriptPath string

Public Methods

Method Description
createByConfiguration ( string $modeName, array $configuration ) : static Creates an UserInterfaceMode object by configuration
getName ( ) : string
getOptionByPath ( string $path ) : mixed
getOptions ( ) : array
getTitle ( ) : string
getTypoScriptPath ( ) : string
isEdit ( ) : boolean
isPreview ( ) : boolean
setEdit ( boolean $edit ) : void
setName ( string $name ) : void
setOptions ( array $options ) : void
setPreview ( boolean $preview ) : void
setTitle ( string $title ) : void
setTypoScriptPath ( string $typoScriptPath ) : void

Method Details

createByConfiguration() public static method

Creates an UserInterfaceMode object by configuration
public static createByConfiguration ( string $modeName, array $configuration ) : static
$modeName string
$configuration array
return static

getName() public method

public getName ( ) : string
return string

getOptionByPath() public method

public getOptionByPath ( string $path ) : mixed
$path string
return mixed

getOptions() public method

public getOptions ( ) : array
return array

getTitle() public method

public getTitle ( ) : string
return string

getTypoScriptPath() public method

public getTypoScriptPath ( ) : string
return string

isEdit() public method

public isEdit ( ) : boolean
return boolean

isPreview() public method

public isPreview ( ) : boolean
return boolean

setEdit() public method

public setEdit ( boolean $edit ) : void
$edit boolean
return void

setName() public method

public setName ( string $name ) : void
$name string
return void

setOptions() public method

public setOptions ( array $options ) : void
$options array
return void

setPreview() public method

public setPreview ( boolean $preview ) : void
$preview boolean
return void

setTitle() public method

public setTitle ( string $title ) : void
$title string
return void

setTypoScriptPath() public method

public setTypoScriptPath ( string $typoScriptPath ) : void
$typoScriptPath string
return void

Property Details

$edit protected property

protected bool $edit
return boolean

$name protected property

protected string $name
return string

$options protected property

protected array $options
return array

$preview protected property

protected bool $preview
return boolean

$title protected property

protected string $title
return string

$typoScriptPath protected property

protected string $typoScriptPath
return string