Class ilVirusScannerFactory.
More...
◆ _getInstance()
static ilVirusScannerFactory::_getInstance |
( |
| ) |
|
|
static |
- Returns
- ilVirusScannerAntiVir|ilVirusScannerClamAV|ilVirusScannerICapClient|ilVirusScannerICapRemoteAvClient|ilVirusScannerSophos|null
Definition at line 12 of file class.ilVirusScannerFactory.php.
13 {
14 $vs = null;
15
16 if (IL_VIRUS_SCANNER == "icap") {
17 if (strlen(IL_ICAP_CLIENT) > 0) {
19 } else {
21 }
22 } else {
23 switch (IL_VIRUS_SCANNER) {
24 case "Sophos":
26 break;
27 case "AntiVir":
29 $DIC->logger()->error(
'AntiVir is deprecated, please install and use a different virus scanner.');
31 break;
32 case "ClamAV":
34 break;
35 }
36 }
37 return $vs;
38 }
Interface to the AntiVir virus protector.
Interface to the ClamAV virus protector.
Interface to the ClamAV virus protector.
Interface to the sophos virus protector.
References $DIC.
Referenced by ilLTIConsumerAdministrationGUI\checkIconFileVirus(), ilInitialisation\initFileUploadService(), ilQTIParser\virusDetected(), and ilUtil\virusHandling().
The documentation for this class was generated from the following file: