class Document implements Renderable
A view which renders a HTML skeleton for Flarum's frontend app.
Properties
Methods
__construct(Factory $view, array $forumApiDocument, ServerRequestInterface $request, TitleDriverInterface $titleDriver, Config $config, Factory $filesystem)
No description
static string
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 143
__construct(Factory $view, array $forumApiDocument, ServerRequestInterface $request, TitleDriverInterface $titleDriver, Config $config, Factory $filesystem)
at
line 156
string
render()
at
line 163
protected View
makeView()
at
line 179
protected string
makeTitle()
at
line 184
protected View|null
makeLayout()
at
line 193
protected View
makeContent()
at
line 198
protected array
makePreloads()
at
line 211
protected string
makeHead()
at
line 239
protected string
makeJs()
at
line 246
protected string
makeFoot()
at
line 251
array
getForumApiDocument()
at
line 256
void
setForumApiDocument(array $forumApiDocument)
at
line 261
static string
setPageParam(string $url, int|null $page)
at
line 273
static protected string
setQueryParam(string $url, string $key, string|null $value)
<p>Set or override a query param on a string URL to a particular value.</p>