‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Module\BaseModule Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Module\BaseModule:
TYPO3\CMS\Backend\Module\ExtbaseModule TYPO3\CMS\Backend\Module\Module

Public Member Functions

 getIdentifier ()
 
 getPath ()
 
 getIconIdentifier ()
 
 getTitle ()
 
 getDescription ()
 
 getShortDescription ()
 
 isStandalone ()
 
 getNavigationComponent ()
 
 getComponent ()
 
 getPosition ()
 
 getAccess ()
 
 getWorkspaceAccess ()
 
 getParentIdentifier ()
 
 setParentModule (ModuleInterface $module)
 
 getParentModule ()
 
 hasParentModule ()
 
 addSubModule (ModuleInterface $module)
 
 hasSubModule (string $identifier)
 
 hasSubModules ()
 
 getSubModule (string $identifier)
 
 removeSubModule (string $identifier)
 
 getAppearance ()
 
 getAliases ()
 
 getDefaultRouteOptions ()
 
 getDefaultModuleData ()
 

Static Public Member Functions

static createFromConfiguration (string $identifier, array $configuration)
 

Public Attributes

array< string, function getSubModules():array { return $this-> subModules
 

Protected Member Functions

 __construct (string $identifier)
 

Protected Attributes

string $identifier
 
string $packageName = ''
 
string $absolutePackagePath = ''
 
string $path = ''
 
string $iconIdentifier = ''
 
string $title = ''
 
string $description = ''
 
string $shortDescription = ''
 
array $position = []
 
array $appearance = []
 
string $access = ''
 
string $workspaceAccess = ''
 
string $parent = ''
 
ModuleInterface $parentModule = null
 
array $subModules = []
 
bool $standalone = false
 
string $component = '@typo3/backend/module/iframe'
 
string $navigationComponent = ''
 
array $defaultModuleData = []
 
array $aliases = []
 
bool $inheritNavigationComponent = true
 
array $routeOptions = []
 

Detailed Description

The basic backend module, to be extended by more detailed implementations (e.g. ExtbaseModule)

Definition at line 25 of file BaseModule.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Module\BaseModule::__construct ( string  $identifier)
finalprotected

Definition at line 51 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$identifier.

Member Function Documentation

◆ addSubModule()

TYPO3\CMS\Backend\Module\BaseModule::addSubModule ( ModuleInterface  $module)

◆ createFromConfiguration()

static TYPO3\CMS\Backend\Module\BaseModule::createFromConfiguration ( string  $identifier,
array  $configuration 
)
static

◆ getAccess()

TYPO3\CMS\Backend\Module\BaseModule::getAccess ( )

Definition at line 111 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$access.

◆ getAliases()

TYPO3\CMS\Backend\Module\BaseModule::getAliases ( )

Definition at line 179 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$aliases.

◆ getAppearance()

TYPO3\CMS\Backend\Module\BaseModule::getAppearance ( )

Definition at line 174 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$appearance.

◆ getComponent()

TYPO3\CMS\Backend\Module\BaseModule::getComponent ( )

Definition at line 101 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$component.

◆ getDefaultModuleData()

TYPO3\CMS\Backend\Module\BaseModule::getDefaultModuleData ( )

◆ getDefaultRouteOptions()

TYPO3\CMS\Backend\Module\BaseModule::getDefaultRouteOptions ( )
abstract

◆ getDescription()

TYPO3\CMS\Backend\Module\BaseModule::getDescription ( )

Definition at line 76 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$description.

◆ getIconIdentifier()

TYPO3\CMS\Backend\Module\BaseModule::getIconIdentifier ( )

◆ getIdentifier()

TYPO3\CMS\Backend\Module\BaseModule::getIdentifier ( )

Definition at line 56 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$identifier.

◆ getNavigationComponent()

◆ getParentIdentifier()

TYPO3\CMS\Backend\Module\BaseModule::getParentIdentifier ( )

Definition at line 121 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$parent.

◆ getParentModule()

TYPO3\CMS\Backend\Module\BaseModule::getParentModule ( )

◆ getPath()

TYPO3\CMS\Backend\Module\BaseModule::getPath ( )

Definition at line 61 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$path.

◆ getPosition()

TYPO3\CMS\Backend\Module\BaseModule::getPosition ( )

Definition at line 106 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$position.

◆ getShortDescription()

TYPO3\CMS\Backend\Module\BaseModule::getShortDescription ( )

◆ getSubModule()

TYPO3\CMS\Backend\Module\BaseModule::getSubModule ( string  $identifier)

◆ getTitle()

TYPO3\CMS\Backend\Module\BaseModule::getTitle ( )

Definition at line 71 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$title.

◆ getWorkspaceAccess()

TYPO3\CMS\Backend\Module\BaseModule::getWorkspaceAccess ( )

◆ hasParentModule()

TYPO3\CMS\Backend\Module\BaseModule::hasParentModule ( )

◆ hasSubModule()

TYPO3\CMS\Backend\Module\BaseModule::hasSubModule ( string  $identifier)

Definition at line 146 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\subModules.

◆ hasSubModules()

TYPO3\CMS\Backend\Module\BaseModule::hasSubModules ( )

◆ isStandalone()

TYPO3\CMS\Backend\Module\BaseModule::isStandalone ( )

Definition at line 86 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\$standalone.

◆ removeSubModule()

TYPO3\CMS\Backend\Module\BaseModule::removeSubModule ( string  $identifier)

Definition at line 161 of file BaseModule.php.

References TYPO3\CMS\Backend\Module\BaseModule\subModules.

◆ setParentModule()

TYPO3\CMS\Backend\Module\BaseModule::setParentModule ( ModuleInterface  $module)

Definition at line 126 of file BaseModule.php.

Member Data Documentation

◆ $absolutePackagePath

string TYPO3\CMS\Backend\Module\BaseModule::$absolutePackagePath = ''
protected

Definition at line 29 of file BaseModule.php.

◆ $access

string TYPO3\CMS\Backend\Module\BaseModule::$access = ''
protected

Definition at line 37 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getAccess().

◆ $aliases

array TYPO3\CMS\Backend\Module\BaseModule::$aliases = []
protected

Definition at line 47 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getAliases().

◆ $appearance

array TYPO3\CMS\Backend\Module\BaseModule::$appearance = []
protected

Definition at line 36 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getAppearance().

◆ $component

string TYPO3\CMS\Backend\Module\BaseModule::$component = '@typo3/backend/module/iframe'
protected

Definition at line 44 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getComponent().

◆ $defaultModuleData

array TYPO3\CMS\Backend\Module\BaseModule::$defaultModuleData = []
protected

◆ $description

string TYPO3\CMS\Backend\Module\BaseModule::$description = ''
protected

Definition at line 33 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getDescription().

◆ $iconIdentifier

string TYPO3\CMS\Backend\Module\BaseModule::$iconIdentifier = ''
protected

◆ $identifier

◆ $inheritNavigationComponent

bool TYPO3\CMS\Backend\Module\BaseModule::$inheritNavigationComponent = true
protected

Definition at line 48 of file BaseModule.php.

◆ $navigationComponent

string TYPO3\CMS\Backend\Module\BaseModule::$navigationComponent = ''
protected

◆ $packageName

string TYPO3\CMS\Backend\Module\BaseModule::$packageName = ''
protected

Definition at line 28 of file BaseModule.php.

◆ $parent

string TYPO3\CMS\Backend\Module\BaseModule::$parent = ''
protected

◆ $parentModule

ModuleInterface TYPO3\CMS\Backend\Module\BaseModule::$parentModule = null
protected

Definition at line 40 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getParentModule().

◆ $path

string TYPO3\CMS\Backend\Module\BaseModule::$path = ''
protected

Definition at line 30 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getPath().

◆ $position

array TYPO3\CMS\Backend\Module\BaseModule::$position = []
protected

Definition at line 35 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getPosition().

◆ $routeOptions

array TYPO3\CMS\Backend\Module\BaseModule::$routeOptions = []
protected

◆ $shortDescription

string TYPO3\CMS\Backend\Module\BaseModule::$shortDescription = ''
protected

◆ $standalone

bool TYPO3\CMS\Backend\Module\BaseModule::$standalone = false
protected

Definition at line 43 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\isStandalone().

◆ $subModules

array TYPO3\CMS\Backend\Module\BaseModule::$subModules = []
protected

Definition at line 42 of file BaseModule.php.

◆ $title

string TYPO3\CMS\Backend\Module\BaseModule::$title = ''
protected

Definition at line 32 of file BaseModule.php.

Referenced by TYPO3\CMS\Backend\Module\BaseModule\getTitle().

◆ $workspaceAccess

string TYPO3\CMS\Backend\Module\BaseModule::$workspaceAccess = ''
protected

◆ subModules

array<string, function getSubModules(): array { return $this-> TYPO3\CMS\Backend\Module\BaseModule::subModules