icingaweb2-module-director/library/Director/Objects/IcingaUser.php

32 lines
805 B
PHP
Raw Normal View History

2015-06-01 17:00:02 +02:00
<?php
namespace Icinga\Module\Director\Objects;
class IcingaUser extends IcingaObject
{
protected $table = 'icinga_user';
protected $defaultProperties = array(
'id' => null,
'object_name' => null,
'display_name' => null,
'email' => null,
'pager' => null,
'enable_notifications' => null,
'period_id' => null,
'zone_id' => null,
'object_type' => null,
);
protected $supportsGroups = true;
protected $supportsCustomVars = true;
2015-06-26 16:36:18 +02:00
protected $supportsImports = true;
protected function renderEnable_notifications()
{
return $this->renderBooleanProperty('enable_notifications');
}
2015-06-01 17:00:02 +02:00
}