TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Lowlevel\VersionsCommand Class Reference
Inheritance diagram for TYPO3\CMS\Lowlevel\VersionsCommand:
TYPO3\CMS\Lowlevel\CleanerCommand TYPO3\CMS\Core\Controller\CommandLineController

Public Member Functions

 __construct ()
 
 main ()
 
 main_autoFix ($resultArray)
 
- Public Member Functions inherited from TYPO3\CMS\Lowlevel\CleanerCommand
 __construct ()
 
 cli_main ($argv)
 
 cli_referenceIndexCheck ()
 
 cli_noExecutionCheck ($matchString)
 
 cli_printInfo ($header, $res)
 
 genTree ($rootID, $depth=1000, $echoLevel=0, $callBack='')
 
 genTree_traverse ($rootID, $depth, $echoLevel=0, $callBack='', $versionSwapmode='', $rootIsVersion=0, $accumulatedPath='')
 
 infoStr ($rec)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Controller\CommandLineController
 __construct ()
 
 cli_getArgArray ($option, $argv)
 
 cli_isArg ($option)
 
 cli_argValue ($option, $idx=0)
 
 cli_getArgIndex (array $argv=[])
 
 cli_validateArgs ()
 
 cli_setArguments (array $argv=[])
 
 cli_keyboardInput ()
 
 cli_keyboardInput_yes ($msg='')
 
 cli_echo ($string='', $force=false)
 
 cli_help ()
 
 cli_indent ($str, $indent)
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Lowlevel\CleanerCommand
 $genTree_traverseDeleted = true
 
 $genTree_traverseVersions = true
 
 $label_infoString = 'The list of records is organized as [table]:[uid]:[field]:[flexpointer]:[softref_key]'
 
 $pagetreePlugins = []
 
 $cleanerModules = []
 
 $performanceStatistics = []
 
- Public Attributes inherited from TYPO3\CMS\Core\Controller\CommandLineController
 $cli_args = []
 
 $cli_options
 
 $cli_help
 
 $stdin = null
 
- Protected Attributes inherited from TYPO3\CMS\Lowlevel\CleanerCommand
 $workspaceIndex = []
 

Detailed Description

Looking for versions of records

Definition at line 24 of file VersionsCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Lowlevel\VersionsCommand::__construct ( )

Constructor

Definition at line 29 of file VersionsCommand.php.

References TYPO3\CMS\Core\Controller\CommandLineController\cli_help().

Member Function Documentation

◆ main()

◆ main_autoFix()

TYPO3\CMS\Lowlevel\VersionsCommand::main_autoFix (   $resultArray)

Mandatory autofix function Will run auto-fix on the result array. Echos status during processing.

Parameters
array$resultArrayResult array from main() function
Returns
void

Definition at line 166 of file VersionsCommand.php.

References $GLOBALS, $uid, TYPO3\CMS\Core\Controller\CommandLineController\cli_isArg(), TYPO3\CMS\Lowlevel\CleanerCommand\cli_noExecutionCheck(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().