1 | <?php |
||
19 | class SettingsController extends Controller { |
||
20 | |||
21 | /** |
||
22 | * @var AppConfig |
||
23 | */ |
||
24 | private $settings; |
||
25 | |||
26 | /** |
||
27 | * @var IL10N |
||
28 | */ |
||
29 | private $l10n; |
||
30 | |||
31 | public function __construct(IRequest $request, AppConfig $appconfig, IL10N $l10n) { |
||
35 | |||
36 | /** |
||
37 | * Print config section |
||
38 | * @return TemplateResponse |
||
39 | */ |
||
40 | public function index() { |
||
44 | |||
45 | /** |
||
46 | * Save Parameters |
||
47 | * @param string $avMode - antivirus mode |
||
48 | * @param string $avSocket - path to socket (Socket mode) |
||
49 | * @param string $avHost - antivirus url |
||
50 | * @param int $avPort - port |
||
51 | * @param string $avCmdOptions - extra command line options |
||
52 | * @param int $avChunkSize - Size of one portion |
||
53 | * @param string $avPath - path to antivirus executable (Executable mode) |
||
54 | * @param string $avInfectedAction - action performed on infected files |
||
55 | * @return JSONResponse |
||
56 | */ |
||
57 | public function save($avMode, $avSocket, $avHost, $avPort, $avCmdOptions, $avChunkSize, $avPath, $avInfectedAction) { |
||
77 | } |
||
78 |