ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullWriter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
28{
29 public function writeError(Error $error, string $message): \DOMDocument
30 {
31 return new \DOMDocument();
32 }
33
34 public function writeIdentifyElements(
35 string $repository_name,
36 URI $base_url,
37 \DateTimeImmutable $earliest_datestamp,
38 string $first_admin_email,
39 string ...$further_admin_emails
40 ): \Generator {
41 yield from [];
42 }
43
47 public function writeMetadataFormat(): \DOMDocument
48 {
49 return new \DOMDocument();
50 }
51
52 public function writeRecordHeader(
53 string $identifier,
54 \DateTimeImmutable $datestamp
55 ): \DOMDocument {
56 return new \DOMDocument();
57 }
58
62 public function writeRecord(
63 string $identifier,
64 \DateTimeImmutable $datestamp,
65 \DOMDocument $metadata
66 ): \DOMDocument {
67 return new \DOMDocument();
68 }
69
70 public function writeSet(
71 string $spec,
72 string $name
73 ): \DOMDocument {
74 return new \DOMDocument();
75 }
76
77
78 public function writeResumptionToken(
79 string $token,
80 int $complete_list_size,
81 int $cursor
82 ): \DOMDocument {
83 return new \DOMDocument();
84 }
85
86 public function writeResponse(
87 RequestInterface $request,
88 \DOMDocument ...$contents
89 ): \DOMDocument {
90 return new \DOMDocument();
91 }
92
93 public function writeErrorResponse(
94 RequestInterface $request,
95 \DOMDocument ...$errors
96 ): \DOMDocument {
97 return new \DOMDocument();
98 }
99}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
writeResumptionToken(string $token, int $complete_list_size, int $cursor)
Definition: NullWriter.php:78
writeRecord(string $identifier, \DateTimeImmutable $datestamp, \DOMDocument $metadata)
Also includes the header.
Definition: NullWriter.php:62
writeIdentifyElements(string $repository_name, URI $base_url, \DateTimeImmutable $earliest_datestamp, string $first_admin_email, string ... $further_admin_emails)
Definition: NullWriter.php:34
writeResponse(RequestInterface $request, \DOMDocument ... $contents)
Definition: NullWriter.php:86
writeErrorResponse(RequestInterface $request, \DOMDocument ... $errors)
Definition: NullWriter.php:93
writeRecordHeader(string $identifier, \DateTimeImmutable $datestamp)
Definition: NullWriter.php:52
ilErrorHandling $error
Definition: class.ilias.php:69
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$message
Definition: xapiexit.php:31
$token
Definition: xapitoken.php:70