Function __global->internalise_own_screen
Definitions
sources/templates_internalise_screen.php
- Put the contents of a screen inside an AJAX updatable area. This is typically used when a page is being used to traverse a result-set that spans multiple screens.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$screen_content | Tempcode | required parameter | N/A | N/A | The screen content |
$refresh_time | ?integer | Null | N/A | N/A | The time between refreshes (null: do not refresh) |
$refresh_if_changed | ?mixed | Null | N/A | N/A | Data. A refresh will only happen if an AJAX-check indicates this data has changed (null: no check) |
Return
- The screen output, wrapped with some AJAX code
- Type: Tempcode
- Set: N/A
- Range: N/A