interface IReport (View source)

This interface provides methods to set and get report mode, and handle errors.

Methods

void
setReportMode(mixed $mode)

Sets the report mode.

mixed
getReportMode()

Gets the current report mode.

void
handleError(string|null $message = null)

Handles an error with an optional message.

Details

void setReportMode(mixed $mode)

Sets the report mode.

Parameters

mixed $mode

The mode to set for the report.

Return Value

void

mixed getReportMode()

Gets the current report mode.

Return Value

mixed

The current report mode.

void handleError(string|null $message = null)

Handles an error with an optional message.

Parameters

string|null $message

The error message to handle.

Return Value

void