TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 __construct ()
 
 findByModuleName ($name)
 
 findByModuleNameInGivenEntries ($name, \SplObjectStorage $entries)
 

Protected Attributes

 $moduleMenu
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Repository for backend module menu

Author
Susanne Moog typo3.nosp@m.@sus.nosp@m.annem.nosp@m.oog..nosp@m.de

Definition at line 22 of file BackendModuleRepository.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository::__construct ( )

Constructs the module menu and gets the Singleton instance of the menu

Definition at line 32 of file BackendModuleRepository.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Function Documentation

◆ findByModuleName()

TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository::findByModuleName (   $name)

Finds a module menu entry by name

Parameters
string$name
Returns
|boolean

Definition at line 42 of file BackendModuleRepository.php.

References TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\findByModuleNameInGivenEntries().

◆ findByModuleNameInGivenEntries()

TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository::findByModuleNameInGivenEntries (   $name,
\SplObjectStorage  $entries 
)

Finds a module menu entry by name in a given storage

Parameters
string$name
\SplObjectStorage$entries
Returns
|bool

Definition at line 55 of file BackendModuleRepository.php.

Referenced by TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\findByModuleName().

Member Data Documentation

◆ $moduleMenu

TYPO3 CMS Backend Module ModuleStorage TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository::$moduleMenu
protected

Definition at line 27 of file BackendModuleRepository.php.