TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Beuser\Service\ModuleDataStorageService Class Reference
Inheritance diagram for TYPO3\CMS\Beuser\Service\ModuleDataStorageService:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 loadModuleData ()
 
 persistModuleData (\TYPO3\CMS\Beuser\Domain\Model\ModuleData $moduleData)
 

Public Attributes

const KEY = 'tx_beuser'
 

Protected Attributes

 $objectManager
 

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! Module data storage service. Used to store and retrieve module state (eg. checkboxes, selections).

Author
Felix Kopp felix.nosp@m.-sou.nosp@m.rce@p.nosp@m.hora.nosp@m.x.com
Nikolas Hagelstein nikol.nosp@m.as.h.nosp@m.agels.nosp@m.tein.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition at line 24 of file ModuleDataStorageService.php.

Member Function Documentation

◆ loadModuleData()

TYPO3\CMS\Beuser\Service\ModuleDataStorageService::loadModuleData ( )

Loads module data for user settings or returns a fresh object initially

Returns

Definition at line 42 of file ModuleDataStorageService.php.

References $GLOBALS.

◆ persistModuleData()

TYPO3\CMS\Beuser\Service\ModuleDataStorageService::persistModuleData ( \TYPO3\CMS\Beuser\Domain\Model\ModuleData  $moduleData)

Persists serialized module data to user settings

Parameters
\TYPO3\CMS\Beuser\Domain\Model\ModuleData$moduleData
Returns
void

Definition at line 58 of file ModuleDataStorageService.php.

References $GLOBALS.

Member Data Documentation

◆ $objectManager

TYPO3\CMS\Beuser\Service\ModuleDataStorageService::$objectManager
protected

Definition at line 35 of file ModuleDataStorageService.php.

◆ KEY

const TYPO3\CMS\Beuser\Service\ModuleDataStorageService::KEY = 'tx_beuser'

Definition at line 29 of file ModuleDataStorageService.php.