Documentation TYPO3 par Ameos

tx_lowlevel_cleaner_core Class Reference

List of all members.

Public Member Functions

 missing_files_analyze ()
 missing_relations_analyze ($filter='')
 double_files_analyze ()
 RTEmagic_files_analyze ()
 clean_lost_files_analyze ()
 orphan_records_analyze ()
 html_printInfo ($header, $res, $silent=FALSE, $detailLevel=0)
 cli_main ($argv)
 cli_printInfo ($header, $res, $silent=FALSE, $detailLevel=0)

Public Attributes

 $label_infoString = 'The list of records is organized as [table]:[uid]:[field]:[flexpointer]:[softref_key]'

Detailed Description

Definition at line 71 of file class.tx_lowlevel_cleaner_core.php.


Member Function Documentation

tx_lowlevel_cleaner_core::clean_lost_files_analyze  ) 
 

Find lost files in uploads/ folder

TODO: Add parameter to exclude filepath TODO: Add parameter to list more file names/patterns to ignore TODO: Add parameter to include RTEmagic images

Returns:
void

Definition at line 437 of file class.tx_lowlevel_cleaner_core.php.

References t3lib_div::getAllFilesAndFoldersInPath(), and t3lib_div::removePrefixPathFromList().

Referenced by RTEmagic_files_analyze().

tx_lowlevel_cleaner_core::cli_main argv  ) 
 

CLI engine

Parameters:
array Command line arguments
Returns:
string

Definition at line 642 of file class.tx_lowlevel_cleaner_core.php.

References cli_printInfo(), and orphan_records_analyze().

tx_lowlevel_cleaner_core::cli_printInfo header,
res,
silent = FALSE,
detailLevel = 0
 

Formats a result array from a test so it fits output in the shell

Parameters:
string name of the test (eg. function name)
array Result array from an analyze function
boolean Silent flag, if set, will only output when the result array contains data in arrays.
integer Detail level: 0=all, 1=info and greater, 2=warnings and greater, 3=errors
Returns:
void Outputs with echo - capture content with output buffer if needed.

Definition at line 693 of file class.tx_lowlevel_cleaner_core.php.

Referenced by cli_main().

tx_lowlevel_cleaner_core::double_files_analyze  ) 
 

Find managed files which are referred to more than one time

Returns:
array

Definition at line 258 of file class.tx_lowlevel_cleaner_core.php.

References t3lib_div::isFirstPartOfStr().

tx_lowlevel_cleaner_core::html_printInfo header,
res,
silent = FALSE,
detailLevel = 0
 

Formats a result array from a test so it fits HTML output

Parameters:
string name of the test (eg. function name)
array Result array from an analyze function
boolean Silent flag, if set, will only output when the result array contains data in arrays.
integer Detail level: 0=all, 1=info and greater, 2=warnings and greater, 3=errors
Returns:
string HTML

Definition at line 572 of file class.tx_lowlevel_cleaner_core.php.

References t3lib_div::view_array().

tx_lowlevel_cleaner_core::missing_files_analyze  ) 
 

Find missing files

Returns:
array

Definition at line 94 of file class.tx_lowlevel_cleaner_core.php.

tx_lowlevel_cleaner_core::missing_relations_analyze filter = ''  ) 
 

Missing relations to database records

Parameters:
string Filter selection, options: "softref", "managed", "" (all)
Returns:
array

Definition at line 161 of file class.tx_lowlevel_cleaner_core.php.

tx_lowlevel_cleaner_core::orphan_records_analyze  ) 
 

Find orphan records VERY CPU and memory intensive since it will look up the whole page tree!

Returns:
void

Definition at line 525 of file class.tx_lowlevel_cleaner_core.php.

References t3lib_div::makeInstance(), and t3lib_div::milliseconds().

Referenced by cli_main().

tx_lowlevel_cleaner_core::RTEmagic_files_analyze  ) 
 

Analyse situation with RTE magic images.

Returns:
array

Definition at line 348 of file class.tx_lowlevel_cleaner_core.php.

References clean_lost_files_analyze(), and t3lib_div::isFirstPartOfStr().


The documentation for this class was generated from the following file:


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6