| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Interface to the ClamAV virus protector. More...
 Inheritance diagram for ilVirusScannerClamAV:
 Inheritance diagram for ilVirusScannerClamAV: Collaboration diagram for ilVirusScannerClamAV:
 Collaboration diagram for ilVirusScannerClamAV:| Public Member Functions | |
| ilVirusScannerClamAV ($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 ClamAV virus protector.
Definition at line 15 of file class.ilVirusScannerClamAV.php.
| ilVirusScannerClamAV::ilVirusScannerClamAV | ( | $a_scancommand, | |
| $a_cleancommand | |||
| ) | 
Constructor public.
| string | virus scanner command | 
Definition at line 22 of file class.ilVirusScannerClamAV.php.
References ilVirusScanner\ilVirusScanner().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilVirusScannerClamAV::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 37 of file class.ilVirusScannerClamAV.php.
References $cmd, $out, $ret, ilVirusScanner\$scanResult, and ilVirusScanner\logScanResult().
 Here is the call graph for this function:
 Here is the call graph for this function: