ILIAS
Release_4_0_x_branch Revision 61816
|
Interface to the AntiVir virus protector. More...
Public Member Functions | |
ilVirusScannerAntivir ($a_scancommand, $a_cleancommand) | |
Constructor public. | |
scanFile ($a_filepath, $a_origname="") | |
scan a file for viruses | |
Public Member Functions inherited from ilVirusScanner | |
ilVirusScanner ($a_scancommand, $a_cleancommand) | |
Constructor public. | |
cleanFile ($a_filepath, $a_origname="") | |
clean an infected file | |
fileCleaned () | |
returns wether file has been cleaned successfully or not | |
logScanResult () | |
write the result of the last scan to the log | |
logCleanResult () | |
write the result of the last clean to the log | |
getScanResult () | |
get the pure output of the external scan | |
getCleanResult () | |
get the pure output of the external scan | |
getScanMessage () | |
get a located message with the result from the last scan | |
getCleanMessage () | |
get a located message with the result from the last clean | |
getScanZipFiles () | |
get info if class can scan ZIP files |
Additional Inherited Members | |
Data Fields inherited from ilVirusScanner | |
$type | |
$scanZipFiles | |
$scanCommand | |
$cleanCommand | |
$scanFilePath | |
$scanFileOrigName | |
$cleanFilePath | |
$cleanFileOrigName | |
$scanFileIsInfected | |
$cleanFileIsCleaned | |
$scanResult | |
$cleanResult | |
$ilias | |
$lng | |
$log |
Interface to the AntiVir virus protector.
Definition at line 16 of file class.ilVirusScannerAntiVir.php.
ilVirusScannerAntiVir::ilVirusScannerAntivir | ( | $a_scancommand, | |
$a_cleancommand | |||
) |
Constructor public.
string | virus scanner command |
Definition at line 23 of file class.ilVirusScannerAntiVir.php.
References ilVirusScanner\ilVirusScanner().
ilVirusScannerAntiVir::scanFile | ( | $a_filepath, | |
$a_origname = "" |
|||
) |
scan a file for viruses
string | path of file to check |
string | original name of the file to ckeck |
Reimplemented from ilVirusScanner.
Definition at line 38 of file class.ilVirusScannerAntiVir.php.
References $cmd, $out, $ret, ilVirusScanner\$scanResult, and ilVirusScanner\logScanResult().