ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Js.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 {
28  public function __construct(
29  string $content,
30  string $version,
31  private bool $add_version_number = true,
32  private int $batch = 2
33  ) {
34  parent::__construct($content, $version);
35  }
36 
37 
38  public function addVersionNumber(): bool
39  {
40  return $this->add_version_number;
41  }
42 
43 
44  public function getBatch(): int
45  {
46  return $this->batch;
47  }
48 }
$version
Definition: plugin.php:24
__construct(string $content, string $version, private bool $add_version_number=true, private int $batch=2)
Definition: Js.php:28
__construct(Container $dic, ilPlugin $plugin)