BareUI
in package
Bare UI ------------ Leaf templating language focused on speed, speed and more speed.
Tags
Table of Contents
Properties
- $config : mixed
Methods
Properties
$config
private
static mixed
$config
= ['path' => null, 'params' => []]
Methods
config()
Configure bare UI
public
static config(array<string|int, mixed>|string $item[, mixed $value = null ]) : mixed
Parameters
- $item : array<string|int, mixed>|string
-
The item(s) to configure
- $value : mixed = null
-
Value of config. Ignored if $item is array.
render()
Render a bare UI
public
static render(string $view[, array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $view : string
-
The view to render
- $data : array<string|int, mixed> = []
-
The params to pass into UI
getView()
private
static getView(mixed $view) : mixed
Parameters
- $view : mixed