ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
◀ 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
WriterInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\OERExposer\OAIPMH\Responses
;
22
23
use
ILIAS\MetaData\OERExposer\OAIPMH\Responses\Error
;
24
use
ILIAS\MetaData\OERExposer\OAIPMH\Requests\RequestInterface
;
25
use
ILIAS\Data\URI
;
26
27
interface
WriterInterface
28
{
29
public
function
writeError
(
Error
$error
,
string
$message
): \DOMDocument;
30
31
public
function
writeIdentifyElements
(
32
string
$repository_name,
33
URI
$base_url,
34
\
DateTimeImmutable
$earliest_datestamp,
35
string
$first_admin_email,
36
string
...$further_admin_emails
37
): \Generator;
38
42
public
function
writeMetadataFormat
(): \DOMDocument;
43
44
public
function
writeRecordHeader
(
45
string
$identifier,
46
\
DateTimeImmutable
$datestamp
47
): \DOMDocument;
48
52
public
function
writeRecord
(
53
string
$identifier,
54
\
DateTimeImmutable
$datestamp,
55
\
DOMDocument
$metadata
56
): \DOMDocument;
57
58
public
function
writeSet
(
59
string
$spec,
60
string
$name
61
): \DOMDocument;
62
63
public
function
writeResumptionToken
(
64
string
$token
,
65
int
$complete_list_size,
66
int
$cursor
67
): \DOMDocument;
68
69
public
function
writeResponse
(
70
RequestInterface
$request,
71
\
DOMDocument
...$contents
72
): \DOMDocument;
73
74
public
function
writeErrorResponse
(
75
RequestInterface
$request,
76
\
DOMDocument
...$errors
77
): \DOMDocument;
78
}
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeErrorResponse
writeErrorResponse(RequestInterface $request, \DOMDocument ... $errors)
DOMDocument
DateTimeImmutable
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeSet
writeSet(string $spec, string $name)
ILIAS\MetaData\OERExposer\OAIPMH\Responses\Error
Error
Definition:
Error.php:23
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeMetadataFormat
writeMetadataFormat()
Currently only oai_dc.
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface
Definition:
WriterInterface.php:27
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeIdentifyElements
writeIdentifyElements(string $repository_name, URI $base_url, \DateTimeImmutable $earliest_datestamp, string $first_admin_email, string ... $further_admin_emails)
RequestInterface
$token
$token
Definition:
xapitoken.php:70
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeRecord
writeRecord(string $identifier, \DateTimeImmutable $datestamp, \DOMDocument $metadata)
Also includes the header.
ILIAS\MetaData\OERExposer\OAIPMH\Responses
Definition:
Error.php:21
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeResumptionToken
writeResumptionToken(string $token, int $complete_list_size, int $cursor)
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeResponse
writeResponse(RequestInterface $request, \DOMDocument ... $contents)
ILIAS\Data\URI
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeRecordHeader
writeRecordHeader(string $identifier, \DateTimeImmutable $datestamp)
ILIAS\$error
ilErrorHandling $error
Definition:
class.ilias.php:69
$message
$message
Definition:
xapiexit.php:31
Error
ILIAS\MetaData\OERExposer\OAIPMH\Responses\WriterInterface\writeError
writeError(Error $error, string $message)
RequestInterface
components
ILIAS
MetaData
classes
OERExposer
OAIPMH
Responses
WriterInterface.php
Generated on Tue Apr 15 2025 23:03:12 for ILIAS by
1.8.13 (using
Doxyfile
)