|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilVirusScannerICapRemoteAvClient:
Collaboration diagram for ilVirusScannerICapRemoteAvClient:Public Member Functions | |
| __construct ($a_scancommand, $a_cleancommand) | |
| ilVirusScannerICapAvClient constructor. More... | |
| scanFile ($a_filepath, $a_origname="") | |
Public Member Functions inherited from ilVirusScannerICapRemote | |
| __construct ($a_scancommand, $a_cleancommand) | |
| ilVirusScannerICap constructor. More... | |
| options ($service) | |
| getRequest ($method, $service, $body=[], $headers=[]) | |
| send ($request) | |
| getLastSocketError () | |
| Get last error code from socket object. More... | |
| respMod ($service, $body=[], $headers=[]) | |
| reqMod ($service, $body=[], $headers=[]) | |
Public Member Functions inherited from ilVirusScanner | |
| __construct ($a_scancommand, $a_cleancommand) | |
| Constructor @access public. More... | |
| scanBuffer ($buffer) | |
| scanFile ($a_filepath, $a_origname="") | |
| scan a file for viruses needs to be redefined in child classes here it simulates a scan "infected.txt" or "cleanable.txt" are expected to be infected More... | |
| cleanFile ($a_filepath, $a_origname="") | |
| clean an infected file needs to be redefined in child classes here it simulates a clean "cleanable.txt" is expected to be cleanable More... | |
| fileCleaned () | |
| returns wether file has been cleaned successfully or not More... | |
| logScanResult () | |
| write the result of the last scan to the log @access public More... | |
| logCleanResult () | |
| write the result of the last clean to the log @access public More... | |
| getScanResult () | |
| get the pure output of the external scan More... | |
| getCleanResult () | |
| get the pure output of the external scan More... | |
| getScanMessage () | |
| get a located message with the result from the last scan More... | |
| getCleanMessage () | |
| get a located message with the result from the last clean More... | |
| getScanZipFiles () | |
| get info if class can scan ZIP files More... | |
Data Fields | |
| const | HEADER = 'headers' |
| const | HEADER_VIOLATION_FOUND = 'X-Violations-Found' |
| const | HEADER_INFECTION_FOUND = 'X-Infection-Found' |
Data Fields inherited from ilVirusScannerICapRemote | |
| $userAgent = 'PHP-CLIENT/0.1.0' | |
Data Fields inherited from ilVirusScanner | |
| $type | |
| $scanZipFiles | |
| $scanCommand | |
| $cleanCommand | |
| $scanFilePath | |
| $scanFileOrigName | |
| $cleanFilePath | |
| $cleanFileOrigName | |
| $scanFileIsInfected | |
| $cleanFileIsCleaned | |
| $scanResult | |
| $cleanResult | |
| $ilias | |
| $lng | |
| $log | |
Protected Member Functions | |
| analyseHeader ($header) | |
Protected Member Functions inherited from ilVirusScanner | |
| scanFileFromBuffer ($buffer) | |
| createBufferFile ($buffer) | |
| removeBufferFile ($bufferFile) | |
Definition at line 5 of file class.ilVirusScannerICapRemoteAvClient.php.
| ilVirusScannerICapRemoteAvClient::__construct | ( | $a_scancommand, | |
| $a_cleancommand | |||
| ) |
ilVirusScannerICapAvClient constructor.
| $a_scancommand | |
| $a_cleancommand |
Reimplemented from ilVirusScannerICapRemote.
Definition at line 16 of file class.ilVirusScannerICapRemoteAvClient.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilVirusScannerICapRemote\options().
Here is the call graph for this function:
|
protected |
| $header |
Definition at line 60 of file class.ilVirusScannerICapRemoteAvClient.php.
References HEADER.
Referenced by scanFile().
Here is the caller graph for this function:| ilVirusScannerICapRemoteAvClient::scanFile | ( | $a_filepath, | |
$a_origname = "" |
|||
| ) |
| $a_filepath | ||
| string | $a_origname |
Reimplemented from ilVirusScanner.
Definition at line 27 of file class.ilVirusScannerICapRemoteAvClient.php.
References $results, and analyseHeader().
Here is the call graph for this function:| const ilVirusScannerICapRemoteAvClient::HEADER = 'headers' |
Definition at line 7 of file class.ilVirusScannerICapRemoteAvClient.php.
Referenced by analyseHeader().
| const ilVirusScannerICapRemoteAvClient::HEADER_INFECTION_FOUND = 'X-Infection-Found' |
Definition at line 9 of file class.ilVirusScannerICapRemoteAvClient.php.
| const ilVirusScannerICapRemoteAvClient::HEADER_VIOLATION_FOUND = 'X-Violations-Found' |
Definition at line 8 of file class.ilVirusScannerICapRemoteAvClient.php.