Merge branch 'maint/7.0'
[ninja.git] / modules / orm / models / timeperiod.php
blob2920195577af82f648e7a088fde2920d3b3b5d3e
1 <?php
2 require_once (dirname(__FILE__) . '/base/basetimeperiod.php');
4 /**
5 * Describes a single object from livestatus
6 */
7 class TimePeriod_Model extends BaseTimePeriod_Model {
8 /**
9 * An array containing the custom column dependencies
11 public static $rewrite_columns = array ('in' => array ('is_active'));
13 /**
14 * For backward compatibility with the filter API
16 * We can't use the name 'in', since it conflicts with the lsfilter-operator
17 * 'in'.
19 * In all cases, use the is_active instead.
21 * @deprecated
22 * @return boolean
24 public function get_in() {
25 return $this->get_is_active();