-
Notifications
You must be signed in to change notification settings - Fork 0
Class View
Namespace:
Afoslt\Core
Parent:
-
Modifiers:
-
View for websites based on MVC pattern powered by Afoslt core.
Modifiers:
private
Name of file that will be used as view.
Relative to views directory.
Modifiers:
private
Associative array of variables that view will be using when rendered.
Modifiers:
private
Title of view.
If set to null
will get default value from manifest.
Will be put in tag <title>
.
Modifiers:
public
final
Setter for field $arguments
.
Modifiers:
public
final
Getter for field $arguments
.
Modifiers:
public
final
Setter for field $title
.
Modifiers:
public
final
Getter for field $title
.
Modifiers:
protected
final
Getter for field $viewName
.
Modifiers:
public
View for websites based on MVC pattern powered by Afoslt core.
- $viewName Name of file that will be rendered.
- $arguments [optional] Associative array of variables.
- $title [optional] Title of view.
Modifiers:
public
final
Render view to the client.
Modifiers:
public
final
static
Get View file name.
Return path to file relative to views
directory. Returns null
if $viewName
was empty.
Modifiers:
public
final
static
Check if view exists.
Returns true
if view file exists.