Factory for virus scanner class(es)
More...
Public Member Functions |
& | _getInstance () |
| Constructor public.
|
Detailed Description
Factory for virus scanner class(es)
- Author
- Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
- Version
- Id:
- class.ilVirusScannerFactory.php 33990 2012-03-29 11:24:28Z jluetzen
Definition at line 13 of file class.ilVirusScannerFactory.php.
Member Function Documentation
& ilVirusScannerFactory::_getInstance |
( |
| ) |
|
Constructor public.
- Parameters
-
string | virus scanner command |
Definition at line 20 of file class.ilVirusScannerFactory.php.
Referenced by ilUtil\virusHandling().
{
switch (IL_VIRUS_SCANNER)
{
case "Sophos":
require_once("./Services/VirusScanner/classes/class.ilVirusScannerSophos.php");
return $vs;
break;
case "AntiVir":
require_once("./Services/VirusScanner/classes/class.ilVirusScannerAntiVir.php");
return $vs;
break;
case "ClamAV":
require_once("./Services/VirusScanner/classes/class.ilVirusScannerClamAV.php");
return $vs;
break;
default:
return null;
break;
}
}
The documentation for this class was generated from the following file: