Function __global->transaction_reverse_screen
Definitions
sources/points3.php
- The UI/actualiser to reverse a point transaction. Should be called from a module.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $id | AUTO_LINK | No | No | required parameter | N/A | N/A | The ID of the transaction being reversed |
| $confirm | BINARY | No | No | required parameter | N/A | N/A | Whether the reversal was confirmed already |
| $title | Tempcode | No | No | required parameter | N/A | N/A | The title of the page |
Returns
- The confirmation screen (null: $confirm was 1 and the reversal was successful)
- Type: ?Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* The UI/actualiser to reverse a point transaction. Should be called from a module.
*
* @param AUTO_LINK $id The ID of the transaction being reversed
* @param BINARY $confirm Whether the reversal was confirmed already
* @param Tempcode $title The title of the page
* @return ?Tempcode The confirmation screen (null: $confirm was 1 and the reversal was successful)
*/
function transaction_reverse_screen(int $id, int $confirm, object $title) : ?object
* The UI/actualiser to reverse a point transaction. Should be called from a module.
*
* @param AUTO_LINK $id The ID of the transaction being reversed
* @param BINARY $confirm Whether the reversal was confirmed already
* @param Tempcode $title The title of the page
* @return ?Tempcode The confirmation screen (null: $confirm was 1 and the reversal was successful)
*/
function transaction_reverse_screen(int $id, int $confirm, object $title) : ?object

