ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
Js.php
Go to the documentation of this file.
2
3/******************************************************************************
4 * This file is part of ILIAS, a powerful learning management system.
5 * ILIAS is licensed with the GPL-3.0, you should have received a copy
6 * of said license along with the source code.
7 * If this is not the case or you just want to try ILIAS, you'll find
8 * us at:
9 * https://www.ilias.de
10 * https://github.com/ILIAS-eLearning
11 *****************************************************************************/
12
19{
20
24 private $add_version_number = true;
28 private $batch = 2;
29
30
38 public function __construct(string $content, string $version, bool $add_version_number = true, int $batch = 2)
39 {
41 $this->add_version_number = $add_version_number;
42 $this->batch = $batch;
43 }
44
45
49 public function addVersionNumber() : bool
50 {
52 }
53
54
58 public function getBatch() : int
59 {
60 return $this->batch;
61 }
62}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $content, string $version, bool $add_version_number=true, int $batch=2)
Js constructor.
Definition: Js.php:38
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc