| Fully Qualified Name: | CodeIgniter\View\RendererInterface |
Interface RendererInterface
The interface used for displaying Views and/or theme files.
| Name | Description | Defined By |
|---|---|---|
| render() | Builds the output based upon a file name and any data that has already been set. | RendererInterface |
| renderString() | Builds the output based upon a string and any data that has already been set. | RendererInterface |
| resetData() | Removes all of the view data from the system. | RendererInterface |
| setData() | Sets several pieces of view data at once. | RendererInterface |
| setVar() | Sets a single piece of view data. | RendererInterface |
Builds the output based upon a file name and any data that has already been set.
| Parameter Name | Type | Description |
|---|---|---|
| $view | string | |
| $options | array | Reserved |
| $saveData | bool | If |
Returns: string
Builds the output based upon a string and any data that has already been set.
| Parameter Name | Type | Description |
|---|---|---|
| $view | string | The |
| $options | array | Reserved |
| $saveData | bool | If |
Returns: string
Removes all of the view data from the system.
Returns: \RendererInterface
Sets several pieces of view data at once.
| Parameter Name | Type | Description |
|---|---|---|
| $data | array | |
| $context | string | The |
Returns: \RendererInterface
Sets a single piece of view data.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | mixed | |
| $context | string | The |
Returns: \RendererInterface