◆ __construct()
◆ achieve()
ilVirusScannerConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 58 of file class.ilVirusScannerConfigStoredObjective.php.
References $ini.
60 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
62 $ini->setVariable(
"tools",
"vscantype", $this->config->getVirusScanner());
63 $ini->setVariable(
"tools",
"scancommand", (
string) $this->config->getPathToScan());
64 $ini->setVariable(
"tools",
"cleancommand", (
string) $this->config->getPathToClean());
65 $ini->setVariable(
"tools",
"icap_host", (
string) $this->config->getIcapHost());
66 $ini->setVariable(
"tools",
"icap_port", (
string) $this->config->getIcapPort());
67 $ini->setVariable(
"tools",
"icap_service_name", (
string) $this->config->getIcapServiceName());
68 $ini->setVariable(
"tools",
"icap_client_path", (
string) $this->config->getIcapClientPath());
71 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 77 of file class.ilVirusScannerConfigStoredObjective.php.
References $ini.
79 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
82 $ini->readVariable(
"tools",
"vscantype") !== $this->config->getVirusScanner() ||
83 $ini->readVariable(
"tools",
"scancommand") !== $this->config->getPathToScan() ||
84 $ini->readVariable(
"tools",
"cleancommand") !== $this->config->getPathToClean() ||
85 $ini->readVariable(
"tools",
"icap_host") !== $this->config->getIcapHost() ||
86 $ini->readVariable(
"tools",
"icap_port") !== $this->config->getIcapPort() ||
87 $ini->readVariable(
"tools",
"icap_service_name") !== $this->config->getIcapServiceName() ||
88 $ini->readVariable(
"tools",
"icap_client_path") !== $this->config->getIcapClientPath();
◆ isNotable()
ilVirusScannerConfigStoredObjective::isNotable |
( |
| ) |
|
◆ $config
The documentation for this class was generated from the following file: