ILIAS
trunk Revision v13.0_alpha-52-g21c366bbdd4
◀ ilDoc Overview
Blog.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS
;
22
23
use
ILIAS\Language\ComponentTranslation\LanguageFileDirectory
;
24
use
ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory
;
25
26
class
Blog
implements
Component\Component
27
{
28
public
function
init
(
29
array | \ArrayAccess &$define,
30
array | \ArrayAccess &$implement,
31
array | \ArrayAccess &$use,
32
array | \ArrayAccess &$contribute,
33
array | \ArrayAccess &$seek,
34
array | \ArrayAccess &$provide,
35
array | \ArrayAccess &$pull,
36
array | \ArrayAccess &$internal,
37
): void {
38
$contribute[\
ILIAS
\
Setup
\
Agent
::class] = static fn() =>
39
new \
ILIAS
\
Blog
\
Setup
\
Agent
(
40
$pull[\
ILIAS
\
Refinery
\
Factory
::class]
41
);
42
$contribute[Component\Resource\PublicAsset::class] =
static
fn() =>
new
class
() implements
Component
\Resource\
PublicAsset
{
43
public
function
getSource():
string
44
{
45
return
"components/ILIAS/Blog/resources/blog.js"
;
46
}
47
public
function
getTarget():
string
48
{
49
return
"assets/js/blog.js"
;
50
}
51
};
52
$contribute[\ILIAS\StaticURL\Handler\Handler::class] =
static
fn() =>
53
new \ILIAS\PermanentLink\StaticURLHandler();
54
$contribute[LanguageFileDirectory::class] = fn() =>
new
ComponentLanguageFileDirectory
(
55
$this,
56
'blog'
57
);
58
}
59
}
ILIAS\Blog
Definition:
Blog.php:27
ILIAS\Blog\init
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
Definition:
Blog.php:28
ILIAS\Data\Color\Factory
Builds a Color from either hex- or rgb values.
Definition:
Factory.php:31
ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory
Definition:
ComponentLanguageFileDirectory.php:29
ILIAS\MediaPool\Setup\Agent
Definition:
class.Agent.php:26
ILIAS\Refinery
Definition:
Refinery.php:27
ILIAS\Setup
Definition:
Setup.php:26
ILIAS\Component\Resource\PublicAsset
An public asset is a file or folder that should be served via the web.
Definition:
PublicAsset.php:27
ILIAS\Language\ComponentTranslation\LanguageFileDirectory
A directory of language files with a path and a prefix for them.
Definition:
LanguageFileDirectory.php:38
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:28
ILIAS\UI\Component
ILIAS
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
components
ILIAS
Blog
Blog.php
Generated on Tue Nov 10 2026 23:07:44 for ILIAS by
1.9.4 (using
Doxyfile
)