ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
Resource.php
Go to the documentation of this file.
1
<?php
2
18
declare(strict_types=1);
19
20
namespace
ILIAS\Data\Meta\Html\OpenGraph
;
21
22
use
ILIAS\Data\Meta\Html\TagCollection
;
23
use
ILIAS\Data\Meta\Html\Tag
as
HTMLTag
;
24
use
ILIAS\Data\URI
;
25
29
abstract
class
Resource
extends
TagCollection
30
{
31
public
function
__construct
(
32
URI
$resource_url,
33
string
$mime_type,
34
HTMLTag
...$additional_tags,
35
) {
36
parent::__construct
(
37
new
Link
($this->
getPropertyName
(), $resource_url),
38
new
Text
(
"{$this->getPropertyName()}:type"
, $mime_type),
39
...$additional_tags
40
);
41
}
42
43
abstract
protected
function
getPropertyName
(): string;
44
}
ILIAS\Data\Meta\Html\OpenGraph\Resource\__construct
__construct(URI $resource_url, string $mime_type, HTMLTag ... $additional_tags,)
Definition:
Resource.php:31
ILIAS\Data\Meta\Html\OpenGraph\Resource\getPropertyName
getPropertyName()
TagCollection
ILIAS\Data\Meta\Html\OpenGraph\Resource
Definition:
Resource.php:29
ILIAS\Data\Meta\Html\OpenGraph
Definition:
Audio.php:20
Standard
ILIAS\Data\Meta\Html\OpenGraph\TagCollection
Definition:
TagCollection.php:27
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:34
Tag
ILIAS\Data\Meta\Html\OpenGraph\Text
Definition:
Text.php:25
ILIAS\Data\URI
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
components
ILIAS
Data
src
Meta
Html
OpenGraph
Resource.php
Generated on Wed Sep 10 2025 15:15:25 for ILIAS by
1.8.13 (using
Doxyfile
)