|
ILIAS
release_8 Revision v8.24
|
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 | ||
| ) |
Reimplemented in ilVirusScannerAntiVir, ilVirusScannerClamAV, ilVirusScannerICapClient, ilVirusScannerICapRemote, ilVirusScannerICapRemoteAvClient, and ilVirusScannerSophos.
Definition at line 53 of file class.ilVirusScanner.php.
References $DIC, $error, $lng, $log, error(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilVirusScanner::cleanFile | ( | string | $file_path, |
| string | $org_name = "" |
||
| ) |
Reimplemented in ilVirusScannerSophos.
Definition at line 166 of file class.ilVirusScanner.php.
References $cleanResult, and logCleanResult().
Here is the call graph for this function:
|
protected |
Definition at line 125 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 | ( | ) |
Definition at line 197 of file class.ilVirusScanner.php.
References $cleanFileIsCleaned.
| ilVirusScanner::getCleanMessage | ( | ) |
Definition at line 232 of file class.ilVirusScanner.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilVirusScanner::getCleanResult | ( | ) |
Definition at line 207 of file class.ilVirusScanner.php.
References $cleanResult.
| ilVirusScanner::getScanMessage | ( | ) |
Definition at line 212 of file class.ilVirusScanner.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilVirusScanner::getScanResult | ( | ) |
Definition at line 202 of file class.ilVirusScanner.php.
References $scanResult.
| ilVirusScanner::getScanZipFiles | ( | ) |
Definition at line 252 of file class.ilVirusScanner.php.
References $scanZipFiles.
| ilVirusScanner::logCleanResult | ( | ) |
Definition at line 186 of file class.ilVirusScanner.php.
Referenced by cleanFile(), and ilVirusScannerSophos\cleanFile().
Here is the caller graph for this function:| ilVirusScanner::logScanResult | ( | ) |
Definition at line 150 of file class.ilVirusScanner.php.
Referenced by scanFile(), ilVirusScannerAntiVir\scanFile(), ilVirusScannerClamAV\scanFile(), and ilVirusScannerSophos\scanFile().
Here is the caller graph for this function:
|
protected |
Definition at line 161 of file class.ilVirusScanner.php.
Referenced by scanFileFromBuffer().
Here is the caller graph for this function:| ilVirusScanner::scanBuffer | ( | string | $buffer | ) |
Reimplemented in ilVirusScannerClamAV.
Definition at line 112 of file class.ilVirusScanner.php.
References scanFileFromBuffer().
Here is the call graph for this function:| ilVirusScanner::scanFile | ( | string | $file_path, |
| string | $org_name = "" |
||
| ) |
Reimplemented in ilVirusScannerAntiVir, ilVirusScannerClamAV, ilVirusScannerICapClient, ilVirusScannerICapRemoteAvClient, and ilVirusScannerSophos.
Definition at line 132 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 117 of file class.ilVirusScanner.php.
References createBufferFile(), removeBufferFile(), and scanFile().
Referenced by scanBuffer(), and ilVirusScannerClamAV\scanBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| string | $a_file | |
| string | $a_orig_name | |
| bool | $a_clean |
Definition at line 76 of file class.ilVirusScanner.php.
References $DIC, $lng, ilVirusScannerFactory\_getInstance(), and ilLanguage\txt().
Referenced by ilUploadFiles\_copyUploadFile(), ilImageWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), assFileUpload\checkUpload(), ilKprimChoiceWizardInputGUI\checkUploads(), ilObjMediaPoolGUI\createMediaFromUploadDir(), and ilMultipleImagesInputGUI\onCheckInput().
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.
| 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 cleanFile(), ilVirusScannerSophos\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(), and virusHandling().
| 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.
| 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(), scanFile(), ilVirusScannerAntiVir\scanFile(), ilVirusScannerClamAV\scanFile(), and ilVirusScannerSophos\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().