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

Public Member Functions

 __construct ()
 
 main ()
 
 main_autoFix ($resultArray)
 
 getFileProcObj ()
 
- 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)
 

Public Attributes

 $checkRefIndex = true
 
- 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

 $fileProcObj = null
 
- Protected Attributes inherited from TYPO3\CMS\Lowlevel\CleanerCommand
 $workspaceIndex = []
 

Detailed Description

Looking for RTE images integrity

Definition at line 22 of file RteImagesCommand.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

Definition at line 37 of file RteImagesCommand.php.

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

Member Function Documentation

◆ getFileProcObj()

TYPO3\CMS\Lowlevel\RteImagesCommand::getFileProcObj ( )

Returns file processing object, initialized only once.

Returns
ExtendedFileUtility File processor object

Definition at line 243 of file RteImagesCommand.php.

References TYPO3\CMS\Lowlevel\RteImagesCommand\$fileProcObj, $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Lowlevel\RteImagesCommand\main_autoFix().

◆ main()

TYPO3\CMS\Lowlevel\RteImagesCommand::main ( )

Analyse situation with RTE magic images. (still to define what the most useful output is). Fix methods: API in that allows to change the value of a reference (we could copy the files) or remove reference

Returns
array

Definition at line 70 of file RteImagesCommand.php.

References TYPO3\CMS\Lowlevel\CleanerCommand\$cleanerModules, $GLOBALS, TYPO3\CMS\Core\Controller\CommandLineController\cli_help(), TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj(), TYPO3\CMS\Lowlevel\CleanerCommand\infoStr(), and TYPO3\CMS\Core\Utility\GeneralUtility\isFirstPartOfStr().

◆ main_autoFix()

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

Member Data Documentation

◆ $checkRefIndex

TYPO3\CMS\Lowlevel\RteImagesCommand::$checkRefIndex = true

Definition at line 27 of file RteImagesCommand.php.

◆ $fileProcObj

TYPO3\CMS\Lowlevel\RteImagesCommand::$fileProcObj = null
protected