-
Notifications
You must be signed in to change notification settings - Fork 0
/
acdhoeaw-arche-core.html
303 lines (245 loc) · 17.8 KB
/
acdhoeaw-arche-core.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/template.js"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/acdhoeaw.html" class="">acdhOeaw</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/acdhoeaw-arche.html" class="">arche</a>
</li>
<li>
<a href="namespaces/acdhoeaw-cql.html" class="">cql</a>
</li>
<li>
<a href="namespaces/acdhoeaw-dissservice.html" class="">dissService</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/drupal.html" class="">Drupal</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/drupal-arche-dashboard.html" class="">arche_dashboard</a>
</li>
<li>
<a href="namespaces/drupal-arche-core-gui.html" class="">arche_core_gui</a>
</li>
<li>
<a href="namespaces/drupal-arche-core-gui-api.html" class="">arche_core_gui_api</a>
</li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/Application.html" class="">Application</a>
</h4>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/acdhoeaw.html">acdhOeaw</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/acdhoeaw-arche.html">arche</a></li>
</ul>
<article class="phpdocumentor-element -namespace">
<h2 class="phpdocumentor-content__title">core</h2>
<h3 id="toc">
Table of Contents
<a href="namespaces/acdhoeaw-arche-core.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="namespaces">
Namespaces
<a href="namespaces/acdhoeaw-arche-core.html#namespaces" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/acdhoeaw-arche-core-handler.html"><abbr title="\acdhOeaw\arche\core\handler">handler</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/acdhoeaw-arche-core-util.html"><abbr title="\acdhOeaw\arche\core\util">util</abbr></a></dt>
</dl>
<h4 id="toc-classes">
Classes
<a href="namespaces/acdhoeaw-arche-core.html#toc-classes" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Auth.html"><abbr title="\acdhOeaw\arche\core\Auth">Auth</abbr></a></dt><dd>Description of Auth</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-BadRequestException.html"><abbr title="\acdhOeaw\arche\core\BadRequestException">BadRequestException</abbr></a></dt><dd>Description of RepoException</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-BinaryPayload.html"><abbr title="\acdhOeaw\arche\core\BinaryPayload">BinaryPayload</abbr></a></dt><dd>Represents a request binary payload.</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-ConflictException.html"><abbr title="\acdhOeaw\arche\core\ConflictException">ConflictException</abbr></a></dt><dd>Description of RepoException</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Describe.html"><abbr title="\acdhOeaw\arche\core\Describe">Describe</abbr></a></dt><dd>Handles the /desribe endpoint</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Download.html"><abbr title="\acdhOeaw\arche\core\Download">Download</abbr></a></dt><dd>Class handling the batch download endpoint</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-DuplicatedKeyException.html"><abbr title="\acdhOeaw\arche\core\DuplicatedKeyException">DuplicatedKeyException</abbr></a></dt><dd>Description of RepoException</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-HandlersController.html"><abbr title="\acdhOeaw\arche\core\HandlersController">HandlersController</abbr></a></dt><dd>Description of CallbackController</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Metadata.html"><abbr title="\acdhOeaw\arche\core\Metadata">Metadata</abbr></a></dt><dd>Manages resources's metadata (loads from database or HTTP request, writes into
the database, serializes to RDF, etc.).</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-MetadataGui.html"><abbr title="\acdhOeaw\arche\core\MetadataGui">MetadataGui</abbr></a></dt><dd>Provides simple HTML serialization of a metadata triples set</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-MetadataReadOnly.html"><abbr title="\acdhOeaw\arche\core\MetadataReadOnly">MetadataReadOnly</abbr></a></dt><dd>Specialized version of the Metadata class.</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-NoBinaryException.html"><abbr title="\acdhOeaw\arche\core\NoBinaryException">NoBinaryException</abbr></a></dt><dd>Exception thrown by the BinaryPayload class when a resource has no binary
payload.</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-RepoException.html"><abbr title="\acdhOeaw\arche\core\RepoException">RepoException</abbr></a></dt><dd>Description of RepoException</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Resource.html"><abbr title="\acdhOeaw\arche\core\Resource">Resource</abbr></a></dt><dd>Description of Resource</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-RestController.html"><abbr title="\acdhOeaw\arche\core\RestController">RestController</abbr></a></dt><dd>Description of RestController</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Search.html"><abbr title="\acdhOeaw\arche\core\Search">Search</abbr></a></dt><dd>Description of Search</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-Transaction.html"><abbr title="\acdhOeaw\arche\core\Transaction">Transaction</abbr></a></dt><dd>Description of Transaction</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-TransactionController.html"><abbr title="\acdhOeaw\arche\core\TransactionController">TransactionController</abbr></a></dt><dd>Description of TransactionController</dd> <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/acdhOeaw-arche-core-UserApi.html"><abbr title="\acdhOeaw\arche\core\UserApi">UserApi</abbr></a></dt><dd>Implements the REST API users management API</dd> </dl>
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">×</button>
</div>
</div>
<script type="text/javascript">
(function () {
function loadExternalCodeSnippet(el, url, line) {
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
const language = 'php';
const code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState !== 4) {
return;
}
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
return;
}
if (xhr.status === 404) {
code.textContent = '✖ Error: File could not be found';
return;
}
if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
return;
}
code.textContent = '✖ Error: An unknown error occurred';
};
xhr.send(null);
});
}
const modalButtons = document.querySelectorAll("[data-modal]");
const openedAsLocalFile = window.location.protocol === 'file:';
if (modalButtons.length > 0 && openedAsLocalFile) {
console.warn(
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
'browsers block XHR requests when a page is opened this way'
);
}
modalButtons.forEach(function (trigger) {
if (openedAsLocalFile) {
trigger.setAttribute("hidden", "hidden");
}
trigger.addEventListener("click", function (event) {
event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
if (!modal) {
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
return;
}
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
})();
</script>
</article>
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="namespaces/acdhoeaw-arche-core.html#toc-classes">Classes</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
<a href="namespaces/acdhoeaw-arche-core.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>