IView Interface Reference
[Interfaces]
Basic view interface. More...
Inheritance diagram for IView:
Public Member Functions |
|
| assign ($var, $value) | |
| Pass a variable to the view. |
|
| assign_array ($vars) | |
| Pass an associative array to the view.
|
|
| copy_to ($view) | |
| Copy all variables to other view. |
|
| retrieve ($var) | |
| Retrieve a variable from the view. |
|
| retrieve_array () | |
| Retrieve all variables. |
|
Public Attributes |
|
| const | CONTENT_ONLY = 4 |
| const | DISPLAY = 1 |
| If set as policy rendered content is printed
also. |
|
| const | NO_CACHE = 2 |
Detailed Description
Basic view interface.
Definition at line 10 of file iview.cls.php.
Member Function Documentation
| IView::assign | ( | $ | var, | |
| $ | value | |||
| ) |
Pass a variable to the view.
- Parameters:
-
string $var The name of the variable mixed $value The value
Implemented in ViewBase.
| IView::assign_array | ( | $ | vars | ) |
| IView::copy_to | ( | $ | view | ) |
| IView::retrieve | ( | $ | var | ) |
Retrieve a variable from the view.
- Parameters:
-
string $var The name of the variable
- Returns:
- mixed The Value
Implemented in ViewBase.
| IView::retrieve_array | ( | ) |
Member Data Documentation
| const IView::CONTENT_ONLY = 4 |
Definition at line 16 of file iview.cls.php.
| const IView::DISPLAY = 1 |
If set as policy rendered content is printed also.
Definition at line 14 of file iview.cls.php.
| const IView::NO_CACHE = 2 |
Definition at line 15 of file iview.cls.php.
The documentation for this interface was generated from the following file:
- gyro/core/lib/interfaces/iview.cls.php
