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 227
protected View
makeLayout()
at
line 237
protected View
makeContent()
at
line 242
protected array
makePreloads()
at
line 258
protected string
makeHead()
at
line 289
protected string
makeJs()
at
line 299
protected string
makeFoot()
at
line 307
array
getForumApiDocument()
at
line 315
setForumApiDocument(array $forumApiDocument)
at
line 320
static
setPageParam(string $url, int|null $page)
at
line 332
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>