ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Js.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
;
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
18
class
Js
extends
AbstractMediaWithPath
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
{
40
parent::__construct
($content, $version);
41
$this->add_version_number =
$add_version_number
;
42
$this->batch =
$batch
;
43
}
44
45
49
public
function
addVersionNumber
() : bool
50
{
51
return
$this->add_version_number
;
52
}
53
54
58
public
function
getBatch
() : int
59
{
60
return
$this->batch
;
61
}
62
}
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractMedia\$content
$content
Definition:
AbstractMedia.php:27
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractMediaWithPath
Class AbstractMediaWithPath.
Definition:
AbstractMediaWithPath.php:7
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Js\addVersionNumber
addVersionNumber()
Definition:
Js.php:49
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractMedia\$version
$version
Definition:
AbstractMedia.php:31
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Js
Class Js.
Definition:
Js.php:18
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Js\$batch
$batch
Definition:
Js.php:28
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Js\getBatch
getBatch()
Definition:
Js.php:58
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Js\__construct
__construct(string $content, string $version, bool $add_version_number=true, int $batch=2)
Js constructor.
Definition:
Js.php:38
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Js\$add_version_number
$add_version_number
Definition:
Js.php:24
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
Definition:
AbstractCollection.php:1
src
GlobalScreen
Scope
Layout
MetaContent
Media
Js.php
Generated on Tue Sep 2 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)