Downtime_Model Class Reference

Fetch downtime info from downtime table. More...

Inheritance diagram for Downtime_Model:
Comment_Model

Static Public Member Functions

static get_downtime_data ($filter=3, $order_by=array('id'=>'ASC'), $generate_links_for_downtime_id=false)
 Fetch current downtime information.
static check_if_scheduled ($type=false, $name=false, $start_time=false, $duration=false)
 Try to figure out if an object already has been scheduled.

Data Fields

const TABLE_NAME = 'downtimes'
 The name of the downtimes livestatus table.

Detailed Description

Fetch downtime info from downtime table.


Member Function Documentation

static Downtime_Model::get_downtime_data ( filter = 3,
order_by = array('id'=>'ASC'),
generate_links_for_downtime_id = false 
) [static]

Fetch current downtime information.

Parameters:
$filter Host, service or both
$order_by Field name
$generate_links_for_downtime_id If true, do extra work to find the downtime trigger/source

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 18 Feb 2013 for ninja by  doxygen 1.6.1