HttpApiEvent_options Class Reference
The report options for the Event type of reports in the HTTP API.
More...
Public Member Functions |
| setup_properties () |
| Properties should be completely setup - with translations and all - before loading any options, and options are loaded by the construct, so do initialization here.
|
| format_default ($name, $type) |
| set_options ($options) |
| Not as forgiving as the parent.
|
| to_output ($row) |
| Final step in the "from merlin.report_data row to API-output" process.
|
Data Fields |
const | MAX_EVENTS = 10000 |
| Pagination limit for events retrieved from HTTP API.
|
Static Public Attributes |
static | $type = 'httpapievent' |
| A name for this report type that doesn't rely on splitting class_name() by _ This is used when saving the report.
|
Protected Member Functions |
| rewrite_states (&$name, $value, $obj) |
| Convert the old, exported "{host,service}_states" bitmaps to "standard" {host,service}_filter_status.
|
| validate_value ($key, &$value) |
Detailed Description
The report options for the Event type of reports in the HTTP API.
Member Function Documentation
HttpApiEvent_options::format_default |
( |
$ |
name, |
|
|
$ |
type | |
|
) |
| | |
- Parameters:
-
| $name | string |
| $type | string |
- Returns:
- string
HttpApiEvent_options::set_options |
( |
$ |
options |
) |
|
Not as forgiving as the parent.
(Why is parent forgiving?)
- Parameters:
-
- Exceptions:
-
Reimplemented from Report_options.
HttpApiEvent_options::to_output |
( |
$ |
row |
) |
|
Final step in the "from merlin.report_data row to API-output" process.
- Parameters:
-
- Returns:
- array
HttpApiEvent_options::validate_value |
( |
$ |
key, |
|
|
&$ |
value | |
|
) |
| | [protected] |
- Todo:
- be able to throw exceptions here to give feedback of *which* error we experienced, since, you know, there's at least one user (you) exposed to this API.. Help yourself
- Parameters:
-
- Returns:
- boolean
Reimplemented from Report_options.
Field Documentation
Pagination limit for events retrieved from HTTP API.
Hardcoded, deal with it
The documentation for this class was generated from the following file: