ILIAS
trunk Revision v12.0_alpha-1227-g7ff6d300864
◀ ilDoc Overview
class.ilDashboardContentBlockGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilDashboardContentBlockGUI
extends
ilBlockGUI
22
{
23
public
const
BLOCK_TYPE
=
'dashcontent'
;
24
25
protected
int
$current_item_number
;
26
protected
string
$content
;
27
28
public
function
__construct
()
29
{
30
global
$DIC
;
31
32
$this->
ctrl
= $DIC->ctrl();
33
$this->
lng
= $DIC->language();
34
$this->
user
= $DIC->user();
35
36
parent::__construct
();
37
38
$this->
setEnableNumInfo
(
false
);
39
$this->
setLimit
(99999);
40
$this->
setPresentation
(self::PRES_MAIN_LEG);
41
$this->allow_moving =
false
;
42
}
43
44
final
public
function
getBlockType
(): string
45
{
46
return
self::BLOCK_TYPE
;
47
}
48
49
final
public
function
setCurrentItemNumber
(
int
$a_currentitemnumber): void
50
{
51
$this->current_item_number = $a_currentitemnumber;
52
}
53
54
final
public
function
getCurrentItemNumber
():
int
55
{
56
return
$this->current_item_number
;
57
}
58
59
final
protected
function
isRepositoryObject
(): bool
60
{
61
return
false
;
62
}
63
64
final
public
function
getContent
(): string
65
{
66
return
$this->content
;
67
}
68
69
final
protected
function
getLegacyContent
(): string
70
{
71
return
$this->content
;
72
}
73
74
final
public
function
setContent
(
string
$a_content): void
75
{
76
$this->content = $a_content;
77
}
78
}
ilBlockGUI
This class represents a block method of a block.
Definition:
class.ilBlockGUI.php:40
ilBlockGUI\setPresentation
setPresentation(int $type)
Definition:
class.ilBlockGUI.php:158
ilBlockGUI\setLimit
setLimit(int $a_limit)
Definition:
class.ilBlockGUI.php:224
ilBlockGUI\setEnableNumInfo
setEnableNumInfo(bool $a_enablenuminfo)
Definition:
class.ilBlockGUI.php:287
ilDashboardContentBlockGUI
Definition:
class.ilDashboardContentBlockGUI.php:22
ilDashboardContentBlockGUI\getLegacyContent
getLegacyContent()
Get legacy content.
Definition:
class.ilDashboardContentBlockGUI.php:69
ilDashboardContentBlockGUI\__construct
__construct()
Definition:
class.ilDashboardContentBlockGUI.php:28
ilDashboardContentBlockGUI\BLOCK_TYPE
const BLOCK_TYPE
Definition:
class.ilDashboardContentBlockGUI.php:23
ilDashboardContentBlockGUI\isRepositoryObject
isRepositoryObject()
Returns whether block has a corresponding repository object.
Definition:
class.ilDashboardContentBlockGUI.php:59
ilDashboardContentBlockGUI\getContent
getContent()
Definition:
class.ilDashboardContentBlockGUI.php:64
ilDashboardContentBlockGUI\setCurrentItemNumber
setCurrentItemNumber(int $a_currentitemnumber)
Definition:
class.ilDashboardContentBlockGUI.php:49
ilDashboardContentBlockGUI\$content
string $content
Definition:
class.ilDashboardContentBlockGUI.php:26
ilDashboardContentBlockGUI\setContent
setContent(string $a_content)
Definition:
class.ilDashboardContentBlockGUI.php:74
ilDashboardContentBlockGUI\getBlockType
getBlockType()
Definition:
class.ilDashboardContentBlockGUI.php:44
ilDashboardContentBlockGUI\getCurrentItemNumber
getCurrentItemNumber()
Definition:
class.ilDashboardContentBlockGUI.php:54
ilDashboardContentBlockGUI\$current_item_number
int $current_item_number
Definition:
class.ilDashboardContentBlockGUI.php:25
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Repository\user
user()
Definition:
trait.GlobalDICDomainServices.php:66
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:62
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
Dashboard
classes
class.ilDashboardContentBlockGUI.php
Generated on Wed Apr 8 2026 23:04:39 for ILIAS by
1.9.4 (using
Doxyfile
)