1 | <?php |
||
20 | class SettingsController extends Controller { |
||
21 | |||
22 | /** |
||
23 | * @var AppConfig |
||
24 | */ |
||
25 | private $settings; |
||
26 | |||
27 | /** |
||
28 | * @var IL10N |
||
29 | */ |
||
30 | private $l10n; |
||
31 | |||
32 | private $scannerFactory; |
||
33 | |||
34 | public function __construct($appName, IRequest $request, AppConfig $appconfig, IL10N $l10n, ScannerFactory $scannerFactory) { |
||
41 | |||
42 | /** |
||
43 | * Save Parameters |
||
44 | * |
||
45 | * @param string $avMode - antivirus mode |
||
46 | * @param string $avSocket - path to socket (Socket mode) |
||
47 | * @param string $avHost - antivirus url |
||
48 | * @param int $avPort - port |
||
49 | * @param string $avCmdOptions - extra command line options |
||
50 | * @param string $avPath - path to antivirus executable (Executable mode) |
||
51 | * @param string $avInfectedAction - action performed on infected files |
||
52 | * @param $avStreamMaxLength - reopen socket after bytes |
||
53 | * @param int $avMaxFileSize - file size limit |
||
54 | * @return JSONResponse |
||
55 | */ |
||
56 | public function save($avMode, $avSocket, $avHost, $avPort, $avCmdOptions, $avPath, $avInfectedAction, $avStreamMaxLength, $avMaxFileSize) { |
||
85 | } |
||
86 |