class Document implements Renderable
A view which renders a HTML skeleton for Flarum's frontend app.
Properties
Methods
static
setQueryParam(string $url, string $key, string|null $value)
<p>Set or override a query param on a string URL to a particular value.</p>
Details
at
line 181
__construct(Factory $view, array $forumApiDocument, ServerRequestInterface $request)
at
line 191
string
render()
at
line 201
protected View
makeView()
at
line 218
protected string
makeTitle()
at
line 224
protected View|null
makeLayout()
at
line 236
protected View
makeContent()
at
line 241
protected array
makePreloads()
at
line 257
protected string
makeHead()
at
line 288
protected string
makeJs()
at
line 298
protected string
makeFoot()
at
line 306
array
getForumApiDocument()
at
line 314
setForumApiDocument(array $forumApiDocument)
at
line 319
static
setPageParam(string $url, int|null $page)
at
line 331
static protected
setQueryParam(string $url, string $key, string|null $value)
<p>Set or override a query param on a string URL to a particular value.</p>