Function __global->render_screen_preview
Definitions
sources/lorem.php
- Shows the preview of a screen.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$hook | ?ID_TEXT | required parameter | N/A | N/A | The hook the preview is in (null: search) |
$function | ID_TEXT | required parameter | N/A | N/A | The name of the screen preview |
$template | ?ID_TEXT | Null | N/A | N/A | The template to be previewed (e.g. templates/DOWNLOAD_BOX.tpl) (null: do not consider template) |
Return
- The previewed screen
- Type: Tempcode
- Set: N/A
- Range: N/A