inc\classes\Report.php
Report
Writing reports
- Author
- Sergey Dilong
- License
- GPL-2.0
- Package
- Temply-Account\Services
\Report
Package: Temply-Account\Services
Parameters
Returns
Throws
Details
Returns
Details
Report class
Saving logs to DB
- Author
- Sergey Dilong
- License
- GPL-2.0
Properties
Methods

__construct(array $data = array()) : booleanNew report
Write logs to DB
| Name | Type | Description |
|---|---|---|
| $data | array | Data to save |
| Type | Description |
|---|---|
| boolean | If `true` - success |
| Exception | Description |
|---|---|
| \apiException | * [104] Failed to write log |
- Api

getData() : array | booleanGet data
Get report data
| Type | Description |
|---|---|
| array | boolean | Saved data. If `false` - no data |
- Api