ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (string $scan_command, string $clean_command) | |
options (string $service) | |
getRequest (string $method, string $service, array $body=[], array $headers=[]) | |
send (string $request) | |
getLastSocketError () | |
respMod (string $service, array $body=[], array $headers=[]) | |
reqMod (string $service, array $body=[], array $headers=[]) | |
![]() | |
__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 () | |
Data Fields | |
string | $userAgent = 'PHP-CLIENT/0.1.0' |
![]() | |
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 |
Private Member Functions | |
connect () | |
disconnect () | |
parseResponse (string $string) | |
Private Attributes | |
string | $host |
int | $port |
$socket | |
Additional Inherited Members | |
![]() | |
static | virusHandling (string $a_file, string $a_orig_name='', bool $a_clean=true) |
![]() | |
scanFileFromBuffer (string $buffer) | |
createBufferFile (string $buffer) | |
removeBufferFile (string $bufferFile) | |
Definition at line 21 of file class.ilVirusScannerICapRemote.php.
ilVirusScannerICapRemote::__construct | ( | string | $scan_command, |
string | $clean_command | ||
) |
Definition at line 29 of file class.ilVirusScannerICapRemote.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\int().
|
private |
Definition at line 114 of file class.ilVirusScannerICapRemote.php.
References Vendor\Package\$e.
Referenced by send().
|
private |
Definition at line 133 of file class.ilVirusScannerICapRemote.php.
Referenced by send().
ilVirusScannerICapRemote::getLastSocketError | ( | ) |
Definition at line 128 of file class.ilVirusScannerICapRemote.php.
Referenced by send().
ilVirusScannerICapRemote::getRequest | ( | string | $method, |
string | $service, | ||
array | $body = [] , |
||
array | $headers = [] |
||
) |
Definition at line 46 of file class.ilVirusScannerICapRemote.php.
References $data, $host, ilVirusScanner\$type, and $userAgent.
Referenced by options(), reqMod(), and respMod().
ilVirusScannerICapRemote::options | ( | string | $service | ) |
Definition at line 36 of file class.ilVirusScannerICapRemote.php.
References $response, getRequest(), parseResponse(), and send().
Referenced by ilVirusScannerICapRemoteAvClient\__construct().
|
private |
Definition at line 142 of file class.ilVirusScannerICapRemote.php.
References $data, $param, $params, $parts, and $response.
Referenced by options(), reqMod(), and respMod().
ilVirusScannerICapRemote::reqMod | ( | string | $service, |
array | $body = [] , |
||
array | $headers = [] |
||
) |
Definition at line 220 of file class.ilVirusScannerICapRemote.php.
References $response, getRequest(), parseResponse(), and send().
ilVirusScannerICapRemote::respMod | ( | string | $service, |
array | $body = [] , |
||
array | $headers = [] |
||
) |
Definition at line 210 of file class.ilVirusScannerICapRemote.php.
References $response, getRequest(), parseResponse(), and send().
ilVirusScannerICapRemote::send | ( | string | $request | ) |
Definition at line 98 of file class.ilVirusScannerICapRemote.php.
References Vendor\Package\$e, $response, connect(), disconnect(), and getLastSocketError().
Referenced by options(), reqMod(), and respMod().
|
private |
Definition at line 23 of file class.ilVirusScannerICapRemote.php.
Referenced by getRequest().
|
private |
Definition at line 24 of file class.ilVirusScannerICapRemote.php.
|
private |
Definition at line 26 of file class.ilVirusScannerICapRemote.php.
string ilVirusScannerICapRemote::$userAgent = 'PHP-CLIENT/0.1.0' |
Definition at line 27 of file class.ilVirusScannerICapRemote.php.
Referenced by getRequest().