Function RevisionEngineDatabase->ui_revisions_browser
Definitions
sources/revisions_engine_database.php
- Show a revisions browsing UI for particular resource types.Intended as a simple front-end browsing UI. Full details are in action-log, and restoration details are via ui_revisions_controller.Does not check permissions, assumes only low-privilege data is revealed.More details are shown in the actionlog, which is linked from here.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$title | ?Tempcode | required parameter | N/A | N/A | Screen title (null: default) |
$_header_row | array | required parameter | N/A | N/A | List of field titles (i.e. columns). |
$resource_types | ?array | required parameter | N/A | N/A | List of resource types (null: no filter) |
$row_renderer | mixed | required parameter | N/A | N/A | Callback for rendering out rows |
$resource_id | ?string | Null | N/A | N/A | Resource ID (null: no filter) |
$category_id | ?string | Null | N/A | N/A | Category ID (null: no filter) |
$member_id | ?MEMBER | Null | N/A | N/A | Member ID (null: no filter) |
$category_permission_type | ?string | Null | N/A | N/A | Category permission type (null: no checks) |
$include_filter_form | boolean | False | N/A | N/A | Include a form for filtering revisions |
Return
- Revision UI
- Type: Tempcode
- Set: N/A
- Range: N/A