The univese of a objects of a given type in livestatus. More...
Public Member Functions | |
available_for ($where) | |
Check if a table is available to read and export from a given interface. | |
get_by_name ($name, $disabled_saved_queries=array()) | |
Get a set of object, given a named query. | |
Static Public Member Functions | |
static | get_by_query ($query, $disabled_saved_queries=array()) |
Parse a query and return the related set. | |
static | load_table_classes () |
Get classes for tables in the system. | |
Static Protected Attributes | |
static | $available_for |
List which places this object is available for. |
The univese of a objects of a given type in livestatus.
ObjectPool_Model::available_for | ( | $ | where | ) |
Check if a table is available to read and export from a given interface.
This can be used to hide tables from the HTTP-API that isn't API-stable enough yet.
ObjectPool_Model::get_by_name | ( | $ | name, | |
$ | disabled_saved_queries = array() | |||
) |
Get a set of object, given a named query.
Can be overridden to handle groups (in HostPool/ServicePool)
Reimplemented in HostPool_Model, and ServicePool_Model.
ObjectPool_Model::$available_for [static, protected] |
array( 'api' => true )
List which places this object is available for.
It is (for now) always available within ninja. Other places are: api
Reimplemented in SavedReportPool_Model.