View
in package
FinalYes
Table of Contents
Methods
- make() : mixed
- Makes/Renderes a view.
- resolveView() : string
- Resolves the final path and filename for the requested view.
Methods
make()
Makes/Renderes a view.
public
make(string $view[, array<string|int, mixed> $vars = [] ][, string $subfolder = '' ]) : mixed
Parameters
- $view : string
- $vars : array<string|int, mixed> = []
- $subfolder : string = ''
-
(optional) Commonly used for components
resolveView()
Resolves the final path and filename for the requested view.
private
resolveView(string $view[, string $subfolder = '' ][, string $extension = 'php' ]) : string
Parameters
- $view : string
- $subfolder : string = ''
- $extension : string = 'php'