Views
extends Views
in package
The Views class that extends framework `Views` class.
Tags
Table of Contents
Methods
- __construct() : mixed
- {@inheritDoc}
- locateViews() : string
- {@inheritDoc}
- render() : string
- {@inheritDoc}
Methods
__construct()
{@inheritDoc}
public
__construct(Container $Container) : mixed
Parameters
- $Container : Container
locateViews()
{@inheritDoc}
public
locateViews(string $viewsFile[, string|null $currentModule = null ]) : string
Parameters
- $viewsFile : string
- $currentModule : string|null = null
Return values
stringrender()
{@inheritDoc}
public
render(string $viewsFile[, array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : string
Also set required data if not exists.
Parameters
- $viewsFile : string
- $data : array<string|int, mixed> = []
- $options : array<string|int, mixed> = []