Package | system.base |
---|---|
Inheritance | interface IViewRenderer |
Subclasses | CPradoViewRenderer, CViewRenderer |
Since | 1.0 |
Source Code | framework/base/interfaces.php |
Method | Description | Defined By |
---|---|---|
renderFile() | Renders a view file. | IViewRenderer |
abstract public mixed renderFile(CBaseController $context, string $file, mixed $data, boolean $return)
| ||
$context | CBaseController | the controller or widget who is rendering the view file. |
$file | string | the view file path |
$data | mixed | the data to be passed to the view |
$return | boolean | whether the rendering result should be returned |
{return} | mixed | the rendering result, or null if the rendering result is not needed. |
public function renderFile($context,$file,$data,$return);
Renders a view file.
Signup or Login in order to comment.