renderFile() public method
Renders a view file as a PHP script.
| public string renderFile ( $_file_, $_params_ ) | ||
|---|---|---|
| $_file_ | string |
The view file. |
| $_params_ | array |
The parameters (name-value pairs) that will be extracted and made available in the view file. |
| return | string |
The rendering result |
Please login to continue.