Bristol SU Support Package
|
Public Member Functions | |
setActionInstanceId (int $actionInstanceId) | |
setEventFields (array $eventFields) | |
setSettings (array $settings) | |
saveHistory (ActionResponse $response) | |
Private Attributes | |
$actionInstanceId | |
$eventFields | |
$settings | |
Definition at line 9 of file HasHistory.php.
BristolSU\Support\Action\History\HasHistory::saveHistory | ( | ActionResponse | $response | ) |
Save the history of the action run
ActionResponse | $response | Response of the run |
Exception | If the action instance ID is not given |
Definition at line 69 of file HasHistory.php.
References BristolSU\Support\Action\ActionResponse\getMessage(), BristolSU\Support\Action\ActionResponse\getSuccess(), and function\settings().
BristolSU\Support\Action\History\HasHistory::setActionInstanceId | ( | int | $actionInstanceId | ) |
Set the action instance for use in the action history records
int | $actionInstanceId |
Definition at line 38 of file HasHistory.php.
References BristolSU\Support\Action\History\HasHistory\$actionInstanceId.
BristolSU\Support\Action\History\HasHistory::setEventFields | ( | array | $eventFields | ) |
Set the fields given by the event
array | $eventFields |
Definition at line 48 of file HasHistory.php.
References BristolSU\Support\Action\History\HasHistory\$eventFields.
BristolSU\Support\Action\History\HasHistory::setSettings | ( | array | $settings | ) |
Set the data passed to the action
array | $settings |
Definition at line 58 of file HasHistory.php.
References BristolSU\Support\Action\History\HasHistory\$settings, and function\settings().
|
private |
Definition at line 17 of file HasHistory.php.
Referenced by BristolSU\Support\Action\History\HasHistory\setActionInstanceId().
|
private |
Definition at line 24 of file HasHistory.php.
Referenced by BristolSU\Support\Action\History\HasHistory\setEventFields().
|
private |
Definition at line 31 of file HasHistory.php.
Referenced by BristolSU\Support\Action\History\HasHistory\setSettings().