ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ 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
ILIAS\MetaData\Repository\Validation\Data\__construct
__construct(VocabulariesInterface $vocabularies)
Definition:
VocabularyBridge.php:31
ILIAS\Data\Meta\Html\OpenGraph\TagCollection
Definition:
TagCollection.php:27
ILIAS\Data\Meta\Html\OpenGraph\Link
Definition:
Link.php:27
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:18
Tag
ILIAS\Data\Meta\Html\OpenGraph\Text
Definition:
Text.php:25
URI
src
Data
Meta
Html
OpenGraph
Resource.php
Generated on Wed Sep 10 2025 14:12:04 for ILIAS by
1.8.13 (using
Doxyfile
)