[TASK] Introduce Enum constants for t3ver_state 10/24410/9
authorSascha Egerer <sascha.egerer@dkd.de>
Sat, 5 Oct 2013 15:33:44 +0000 (17:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 12 Oct 2013 16:37:18 +0000 (18:37 +0200)
commita6b66436acec97684e83cd24480baa4b62bb0da5
treef7ccb953467fb246e742383abc49363c387314e8
parent62b9eda0c245efb86aa276231b38eac95d487ba5
[TASK] Introduce Enum constants for t3ver_state

Currently the t3ver_state field can have 6
different integer values.
To clean up the code and make it better
understandable a Enum object is implemented.

Resolves: #52551
Releases: 6.2
Change-Id: I2f41d6bbf6575aec4a5c2b6d86495700d61bf5b7
Reviewed-on: https://review.typo3.org/24410
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Thorsten Kahler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
18 files changed:
typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php
typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php
typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Classes/Utility/IconUtility.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/RelationHandler.php
typo3/sysext/core/Classes/Type/Enumeration.php
typo3/sysext/core/Classes/Versioning/VersionState.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/lowlevel/Classes/VersionsCommand.php
typo3/sysext/version/Classes/DataHandler/CommandMap.php
typo3/sysext/version/Classes/Hook/DataHandlerHook.php
typo3/sysext/version/Classes/Hook/IconUtilityHook.php
typo3/sysext/workspaces/Classes/Service/IntegrityService.php
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php