|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilVirusScanner:
Collaboration diagram for ilVirusScanner:Public Member Functions | |
| __construct (string $scan_command, string $clean_command) | |
| scanBuffer (string $buffer) | |
| scanFile (string $file_path, string $org_name='') | |
| logScanResult () | |
| cleanFile (string $file_path, string $org_name='') | |
| logCleanResult () | |
| fileCleaned () | |
| getScanResult () | |
| getCleanResult () | |
| getScanMessage () | |
| getCleanMessage () | |
| getScanZipFiles () | |
Static Public Member Functions | |
| static | virusHandling (string $a_file, string $a_orig_name='', bool $a_clean=true) |
Data Fields | |
| string | $type |
| bool | $scanZipFiles |
| string | $scanCommand |
| string | $cleanCommand |
| string | $scanFilePath |
| string | $scanFileOrigName |
| string | $cleanFilePath |
| string | $cleanFileOrigName |
| bool | $scanFileIsInfected |
| bool | $cleanFileIsCleaned |
| string | $scanResult |
| string | $cleanResult |
| ilErrorHandling | $error |
| ilLanguage | $lng |
| ilLogger | $log |
Protected Member Functions | |
| scanFileFromBuffer (string $buffer) | |
| createBufferFile (string $buffer) | |
| removeBufferFile (string $bufferFile) | |
Definition at line 21 of file class.ilVirusScanner.php.
| ilVirusScanner::__construct | ( | string | $scan_command, |
| string | $clean_command | ||
| ) |
Definition at line 53 of file class.ilVirusScanner.php.
References $DIC, $error, $lng, $log, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilVirusScanner::cleanFile | ( | string | $file_path, |
| string | $org_name = '' |
||
| ) |
Definition at line 163 of file class.ilVirusScanner.php.
References $cleanResult, and logCleanResult().
Here is the call graph for this function:
|
protected |
Definition at line 122 of file class.ilVirusScanner.php.
References ilFileUtils\ilTempnam().
Referenced by scanFileFromBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:| ilVirusScanner::fileCleaned | ( | ) |
| ilVirusScanner::getCleanMessage | ( | ) |
Definition at line 229 of file class.ilVirusScanner.php.
References $cleanFileOrigName, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilVirusScanner::getCleanResult | ( | ) |
| ilVirusScanner::getScanMessage | ( | ) |
Definition at line 209 of file class.ilVirusScanner.php.
References $scanFileOrigName, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilVirusScanner::getScanResult | ( | ) |
| ilVirusScanner::getScanZipFiles | ( | ) |
| ilVirusScanner::logCleanResult | ( | ) |
Definition at line 183 of file class.ilVirusScanner.php.
Referenced by ilVirusScannerSophos\cleanFile(), and cleanFile().
Here is the caller graph for this function:| ilVirusScanner::logScanResult | ( | ) |
Definition at line 147 of file class.ilVirusScanner.php.
Referenced by ilVirusScannerAntiVir\scanFile(), ilVirusScannerSophos\scanFile(), ilVirusScannerClamAV\scanFile(), and scanFile().
Here is the caller graph for this function:
|
protected |
Definition at line 158 of file class.ilVirusScanner.php.
Referenced by scanFileFromBuffer().
Here is the caller graph for this function:| ilVirusScanner::scanBuffer | ( | string | $buffer | ) |
Definition at line 109 of file class.ilVirusScanner.php.
References scanFileFromBuffer().
Here is the call graph for this function:| ilVirusScanner::scanFile | ( | string | $file_path, |
| string | $org_name = '' |
||
| ) |
Definition at line 129 of file class.ilVirusScanner.php.
References $scanResult, and logScanResult().
Referenced by scanFileFromBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 114 of file class.ilVirusScanner.php.
References createBufferFile(), removeBufferFile(), and scanFile().
Referenced by ilVirusScannerClamAV\scanBuffer(), and scanBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 73 of file class.ilVirusScanner.php.
References $DIC, ilVirusScannerFactory\_getInstance(), and ilLanguage\txt().
Referenced by ilUploadFiles\_copyUploadFile(), ilMultipleChoiceWizardInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilMultipleImagesInputGUI\onCheckInput(), and ilExSubmission\processZipFile().
Here is the call graph for this function:
Here is the caller graph for this function:| string ilVirusScanner::$cleanCommand |
Definition at line 29 of file class.ilVirusScanner.php.
| bool ilVirusScanner::$cleanFileIsCleaned |
Definition at line 41 of file class.ilVirusScanner.php.
Referenced by fileCleaned().
| string ilVirusScanner::$cleanFileOrigName |
Definition at line 37 of file class.ilVirusScanner.php.
Referenced by getCleanMessage().
| string ilVirusScanner::$cleanFilePath |
Definition at line 35 of file class.ilVirusScanner.php.
| string ilVirusScanner::$cleanResult |
Definition at line 45 of file class.ilVirusScanner.php.
Referenced by ilVirusScannerSophos\cleanFile(), cleanFile(), and getCleanResult().
| ilErrorHandling ilVirusScanner::$error |
Definition at line 47 of file class.ilVirusScanner.php.
Referenced by __construct().
| ilLanguage ilVirusScanner::$lng |
Definition at line 49 of file class.ilVirusScanner.php.
Referenced by __construct().
| ilLogger ilVirusScanner::$log |
Definition at line 51 of file class.ilVirusScanner.php.
Referenced by __construct().
| string ilVirusScanner::$scanCommand |
Definition at line 27 of file class.ilVirusScanner.php.
| bool ilVirusScanner::$scanFileIsInfected |
Definition at line 39 of file class.ilVirusScanner.php.
| string ilVirusScanner::$scanFileOrigName |
Definition at line 33 of file class.ilVirusScanner.php.
Referenced by getScanMessage().
| string ilVirusScanner::$scanFilePath |
Definition at line 31 of file class.ilVirusScanner.php.
| string ilVirusScanner::$scanResult |
Definition at line 43 of file class.ilVirusScanner.php.
Referenced by getScanResult(), ilVirusScannerSophos\scanFile(), ilVirusScannerAntiVir\scanFile(), ilVirusScannerClamAV\scanFile(), and scanFile().
| bool ilVirusScanner::$scanZipFiles |
Definition at line 25 of file class.ilVirusScanner.php.
Referenced by getScanZipFiles().
| string ilVirusScanner::$type |
Definition at line 23 of file class.ilVirusScanner.php.
Referenced by ilVirusScannerICapRemote\getRequest().