ILIAS
trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
Resource.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Data\Meta\Html\OpenGraph
;
22
23
use
ILIAS\Data\Meta\Html\TagCollection
;
24
use
ILIAS\Data\Meta\Html\Tag
as
HTMLTag
;
25
use
ILIAS\Data\URI
;
26
30
abstract
class
Resource
extends
TagCollection
31
{
32
public
function
__construct
(
33
URI
$resource_url,
34
string
$mime_type,
35
HTMLTag
...$additional_tags,
36
) {
37
parent::__construct
(
38
new
Link
($this->
getPropertyName
(), $resource_url),
39
new
Text
(
"{$this->getPropertyName()}:type"
, $mime_type),
40
...$additional_tags
41
);
42
}
43
44
abstract
protected
function
getPropertyName
(): string;
45
}
ILIAS\Data\Meta\Html\OpenGraph\Resource\__construct
__construct(URI $resource_url, string $mime_type, HTMLTag ... $additional_tags,)
Definition:
Resource.php:32
ILIAS\Data\Meta\Html\OpenGraph\Resource\getPropertyName
getPropertyName()
TagCollection
ILIAS\Data\Meta\Html\OpenGraph\Resource
Definition:
Resource.php:30
ILIAS\Data\Meta\Html\OpenGraph
Definition:
Audio.php:21
Standard
ILIAS\Data\Meta\Html\OpenGraph\TagCollection
Definition:
TagCollection.php:28
Tag
ILIAS\Data\Meta\Html\OpenGraph\Text
Definition:
Text.php:26
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 Mon Apr 7 2025 23:03:17 for ILIAS by
1.8.13 (using
Doxyfile
)