Documentation

View

Table of Contents

render()  : mixed
Shows a document to the user

Methods

render()

Shows a document to the user

public render(string $document[, array<string|int, mixed> $opt = [] ][, string|array<string|int, mixed> $options = [] ]) : mixed
Parameters
$document : string

Path to the view

$opt : array<string|int, mixed> = []

Associative array with values to replace in the view

$options : string|array<string|int, mixed> = []

Rendering options, e.g., or a string for layout

Return values
mixed

Search results