Represents a view.
More...
Represents a view.
Ubiquity\views$View This class is part of Ubiquity
- Author
- jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
- Version
- 1.0.6
Definition at line 17 of file View.php.
◆ __construct()
◆ getBlockNames()
getBlockNames |
( |
|
$templateName | ) |
|
◆ getCode()
◆ getVar()
◆ includeFileAsString()
includeFileAsString |
( |
|
$filename | ) |
|
|
protected |
◆ render()
render |
( |
|
$viewName, |
|
|
|
$asString = false |
|
) |
| |
Renders the view $viewName.
- Parameters
-
string | $viewName | The view name |
boolean | $asString | If true, the view is not displayed but returned as a string (usable in a variable) |
- Exceptions
-
Exception
- Returns
- string
Definition at line 56 of file View.php.
◆ setVar()
◆ setVars()
◆ $vars
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/views/View.php