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 20150 2009-06-08 18:02:33Z akill
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("classes/class.ilVirusScannerSophos.php");
return $vs;
break;
case "AntiVir":
require_once("classes/class.ilVirusScannerAntiVir.php");
return $vs;
break;
case "ClamAV":
require_once("classes/class.ilVirusScannerClamAV.php");
return $vs;
break;
default:
return null;
break;
}
}
The documentation for this class was generated from the following file: