TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Version\Controller\VersionModuleController Class Reference
Inheritance diagram for TYPO3\CMS\Version\Controller\VersionModuleController:
TYPO3\CMS\Backend\Module\BaseScriptClass tx_version_cm1

Public Member Functions

 __construct ()
 
 menuConfig ()
 
 main ()
 
 printContent ()
 
 versioningMgm ()
 
 pageSubContent ($pid, $c=0)
 
 lookForOwnVersions ($table, $uid)
 
 adminLinks ($table, $row)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 init ()
 
 menuConfig ()
 
 mergeExternalItems ($modName, $menuKey, $menuArr)
 
 handleExternalFunctionValue ($MM_key='function', $MS_value=NULL)
 
 getExternalItemConfig ($modName, $menuKey, $value='')
 
 checkExtObj ()
 
 checkSubExtObj ()
 
 extObjHeader ()
 
 extObjContent ()
 

Public Attributes

 $MCONF = array()
 
 $MOD_MENU = array()
 
 $MOD_SETTINGS = array()
 
 $doc
 
 $content
 
 $showWorkspaceCol = 0
 
 $formatWorkspace_cache = array()
 
 $formatCount_cache = array()
 
 $targets = array()
 
 $pageModule = ''
 
 $publishAccess = FALSE
 
 $be_user_Array = array()
 
 $stageIndex = array()
 
 $recIndex = array()
 
- Public Attributes inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 $MCONF = array()
 
 $id
 
 $CMD
 
 $perms_clause
 
 $MOD_MENU
 
 $MOD_SETTINGS = array()
 
 $modTSconfig
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $extClassConf
 
 $include_once = array()
 
 $content = ''
 
 $doc
 
 $extObj
 

Protected Member Functions

 getButtons ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 

Detailed Description

Versioning module, including workspace management

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 26 of file VersionModuleController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Version\Controller\VersionModuleController::__construct ( )

Initialize language files

Definition at line 129 of file VersionModuleController.php.

References $GLOBALS.

Member Function Documentation

◆ adminLinks()

TYPO3\CMS\Version\Controller\VersionModuleController::adminLinks (   $table,
  $row 
)

◆ getButtons()

TYPO3\CMS\Version\Controller\VersionModuleController::getButtons ( )
protected

◆ lookForOwnVersions()

TYPO3\CMS\Version\Controller\VersionModuleController::lookForOwnVersions (   $table,
  $uid 
)

Look for number of versions of a record

Parameters
string$tableTable name
integer$uidRecord uid
Returns
integer Number of versions for record, FALSE if none.
Todo:
Define visibility

Definition at line 481 of file VersionModuleController.php.

References $uid, and TYPO3\CMS\Backend\Utility\BackendUtility\selectVersionsOfRecord().

Referenced by TYPO3\CMS\Version\Controller\VersionModuleController\pageSubContent().

◆ main()

◆ menuConfig()

TYPO3\CMS\Version\Controller\VersionModuleController::menuConfig ( )

Initialize menu configuration

Returns
void
Todo:
Define visibility

Definition at line 139 of file VersionModuleController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\_GP(), and TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData().

◆ pageSubContent()

TYPO3\CMS\Version\Controller\VersionModuleController::pageSubContent (   $pid,
  $c = 0 
)

◆ printContent()

TYPO3\CMS\Version\Controller\VersionModuleController::printContent ( )

Outputs accumulated module content to browser.

Returns
void

Definition at line 255 of file VersionModuleController.php.

References TYPO3\CMS\Version\Controller\VersionModuleController\$content.

◆ versioningMgm()

Member Data Documentation

◆ $be_user_Array

TYPO3\CMS\Version\Controller\VersionModuleController::$be_user_Array = array()

Definition at line 112 of file VersionModuleController.php.

◆ $content

◆ $doc

TYPO3\CMS\Version\Controller\VersionModuleController::$doc

Definition at line 58 of file VersionModuleController.php.

◆ $formatCount_cache

TYPO3\CMS\Version\Controller\VersionModuleController::$formatCount_cache = array()

Definition at line 84 of file VersionModuleController.php.

◆ $formatWorkspace_cache

TYPO3\CMS\Version\Controller\VersionModuleController::$formatWorkspace_cache = array()

Definition at line 78 of file VersionModuleController.php.

◆ $MCONF

TYPO3\CMS\Version\Controller\VersionModuleController::$MCONF = array()

Definition at line 34 of file VersionModuleController.php.

◆ $MOD_MENU

TYPO3\CMS\Version\Controller\VersionModuleController::$MOD_MENU = array()

Definition at line 42 of file VersionModuleController.php.

◆ $MOD_SETTINGS

TYPO3\CMS\Version\Controller\VersionModuleController::$MOD_SETTINGS = array()

Definition at line 50 of file VersionModuleController.php.

◆ $pageModule

TYPO3\CMS\Version\Controller\VersionModuleController::$pageModule = ''

◆ $publishAccess

TYPO3\CMS\Version\Controller\VersionModuleController::$publishAccess = FALSE

Definition at line 106 of file VersionModuleController.php.

◆ $recIndex

TYPO3\CMS\Version\Controller\VersionModuleController::$recIndex = array()

Definition at line 124 of file VersionModuleController.php.

◆ $showWorkspaceCol

TYPO3\CMS\Version\Controller\VersionModuleController::$showWorkspaceCol = 0

Definition at line 72 of file VersionModuleController.php.

◆ $stageIndex

TYPO3\CMS\Version\Controller\VersionModuleController::$stageIndex = array()

Definition at line 118 of file VersionModuleController.php.

◆ $targets

TYPO3\CMS\Version\Controller\VersionModuleController::$targets = array()

Definition at line 90 of file VersionModuleController.php.