TYPO3  7.6
Public Member Functions | Public Attributes | Protected Attributes | List of all members
RteImagesCommand Class Reference
Inheritance diagram for RteImagesCommand:
CleanerCommand CommandLineController

Public Member Functions

 __construct ()
 
 main ()
 
 main_autoFix ($resultArray)
 
 getFileProcObj ()
 
- Public Member Functions inherited from 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 CommandLineController
 __construct ()
 
 cli_getArgArray ($option, $argv)
 
 cli_isArg ($option)
 
 cli_argValue ($option, $idx=0)
 
 cli_getArgIndex (array $argv=array())
 
 cli_validateArgs ()
 
 cli_setArguments (array $argv=array())
 
 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 CleanerCommand
 $genTree_traverseDeleted = true
 
 $genTree_traverseVersions = true
 
 $label_infoString = 'The list of records is organized as [table]:[uid]:[field]:[flexpointer]:[softref_key]'
 
 $pagetreePlugins = array()
 
 $cleanerModules = array()
 
 $performanceStatistics = array()
 
- Public Attributes inherited from CommandLineController
 $cli_args = array()
 
 $cli_options
 
 $cli_help
 
 $stdin = null
 

Protected Attributes

 $fileProcObj = null
 
- Protected Attributes inherited from CleanerCommand
 $workspaceIndex = array()
 

Detailed Description

Looking for RTE images integrity

Definition at line 22 of file RteImagesCommand.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 37 of file RteImagesCommand.php.

References CommandLineController\cli_help().

Member Function Documentation

getFileProcObj ( )

Returns file processing object, initialized only once.

Returns
ExtendedFileUtility File processor object

Definition at line 243 of file RteImagesCommand.php.

References RteImagesCommand\$fileProcObj, and $GLOBALS.

Referenced by RteImagesCommand\main_autoFix().

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 CleanerCommand\$cleanerModules, $filename, $GLOBALS, CommandLineController\cli_help(), CleanerCommand\infoStr(), and GeneralUtility\isFirstPartOfStr().

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 147 of file RteImagesCommand.php.

References RteImagesCommand\$fileProcObj, CleanerCommand\cli_noExecutionCheck(), GeneralUtility\getFileAbsFileName(), RteImagesCommand\getFileProcObj(), and GeneralUtility\isFirstPartOfStr().

Member Data Documentation

$checkRefIndex = true

Definition at line 27 of file RteImagesCommand.php.

$fileProcObj = null
protected