◆ __construct()
◆ achieve()
ilVirusScannerConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 42 of file class.ilVirusScannerConfigStoredObjective.php.
References $ini.
44 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
46 $ini->setVariable(
"tools",
"vscantype", $this->config->getVirusScanner());
47 $ini->setVariable(
"tools",
"scancommand", $this->config->getPathToScan());
48 $ini->setVariable(
"tools",
"cleancommand", $this->config->getPathToClean());
49 $ini->setVariable(
"tools",
"icap_host", $this->config->getIcapHost());
50 $ini->setVariable(
"tools",
"icap_port", $this->config->getIcapPort());
51 $ini->setVariable(
"tools",
"icap_service_name", $this->config->getIcapServiceName());
52 $ini->setVariable(
"tools",
"icap_client_path", $this->config->getIcapClientPath());
55 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
◆ getHash()
ilVirusScannerConfigStoredObjective::getHash |
( |
| ) |
|
◆ getLabel()
ilVirusScannerConfigStoredObjective::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilVirusScannerConfigStoredObjective::getPreconditions |
( |
Setup\Environment |
$environment | ) |
|
◆ isApplicable()
ilVirusScannerConfigStoredObjective::isApplicable |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 64 of file class.ilVirusScannerConfigStoredObjective.php.
References $ini.
66 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
69 $ini->readVariable(
"tools",
"vscantype") !== $this->config->getVirusScanner() ||
70 $ini->readVariable(
"tools",
"scancommand") !== $this->config->getPathToScan() ||
71 $ini->readVariable(
"tools",
"cleancommand") !== $this->config->getPathToClean() ||
72 $ini->readVariable(
"tools",
"icap_host") !== $this->config->getIcapHost() ||
73 $ini->readVariable(
"tools",
"icap_port") !== $this->config->getIcapPort() ||
74 $ini->readVariable(
"tools",
"icap_service_name") !== $this->config->getIcapServiceName() ||
75 $ini->readVariable(
"tools",
"icap_client_path") !== $this->config->getIcapClientPath()
◆ isNotable()
ilVirusScannerConfigStoredObjective::isNotable |
( |
| ) |
|
◆ $config
ilVirusScannerConfigStoredObjective::$config |
|
protected |
The documentation for this class was generated from the following file: