-
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:
publicfinal
Setter for field $arguments.
Modifiers:
publicfinal
Getter for field $arguments.
Modifiers:
publicfinal
Setter for field $title.
Modifiers:
publicfinal
Getter for field $title.
Modifiers:
protectedfinal
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:
publicfinal
Render view to the client.
Modifiers:
publicfinalstatic
Get View file name.
Return path to file relative to views directory. Returns null if $viewName was empty.
Modifiers:
publicfinalstatic
Check if view exists.
Returns true if view file exists.