Logo Search packages:      
Sourcecode: nagvis version File versions  Download package

GlobalMapCfg::getObjectDefaults (  )  [inherited]

Gets the default values for the objects

Author:
Lars Michelsen <lars@vertical-visions.de>

Definition at line 406 of file GlobalMapCfg.php.

References GlobalMapCfg::getValue().

Referenced by GlobalMapCfg::readMapConfig().

                                   {
            if (DEBUG&&DEBUGLEVEL&1) debug('Start method GlobalMapCfg::getObjectDefaults()');
            $this->validConfig['host']['recognize_services']['default'] = $this->getValue('global', 0, 'recognize_services');
            $this->validConfig['host']['only_hard_states']['default'] = $this->getValue('global', 0, 'only_hard_states');
            $this->validConfig['host']['backend_id']['default'] = $this->getValue('global', 0, 'backend_id');
            $this->validConfig['host']['iconset']['default'] = $this->getValue('global', 0, 'iconset');
            $this->validConfig['host']['hover_template']['default'] = $this->getValue('global', 0, 'hover_template');
            $this->validConfig['host']['hover_delay']['default'] = $this->getValue('global', 0, 'hover_delay');
            $this->validConfig['host']['label_show']['default'] = $this->getValue('global', 0, 'label_show');
            $this->validConfig['host']['label_x']['default'] = $this->getValue('global', 0, 'label_x');
            $this->validConfig['host']['label_y']['default'] = $this->getValue('global', 0, 'label_y');
            $this->validConfig['host']['label_width']['default'] = $this->getValue('global', 0, 'label_width');
            $this->validConfig['host']['label_background']['default'] = $this->getValue('global', 0, 'label_background');
            $this->validConfig['host']['url_target']['default'] = $this->getValue('global', 0, 'url_target');
            $this->validConfig['hostgroup']['recognize_services']['default'] = $this->getValue('global', 0, 'recognize_services');
            $this->validConfig['hostgroup']['only_hard_states']['default'] = $this->getValue('global', 0, 'only_hard_states');
            $this->validConfig['hostgroup']['backend_id']['default'] = $this->getValue('global', 0, 'backend_id');
            $this->validConfig['hostgroup']['iconset']['default'] = $this->getValue('global', 0, 'iconset');
            $this->validConfig['hostgroup']['hover_template']['default'] = $this->getValue('global', 0, 'hover_template');
            $this->validConfig['hostgroup']['hover_delay']['default'] = $this->getValue('global', 0, 'hover_delay');
            $this->validConfig['hostgroup']['label_show']['default'] = $this->getValue('global', 0, 'label_show');
            $this->validConfig['hostgroup']['label_x']['default'] = $this->getValue('global', 0, 'label_x');
            $this->validConfig['hostgroup']['label_y']['default'] = $this->getValue('global', 0, 'label_y');
            $this->validConfig['hostgroup']['label_width']['default'] = $this->getValue('global', 0, 'label_width');
            $this->validConfig['hostgroup']['label_background']['default'] = $this->getValue('global', 0, 'label_background');
            $this->validConfig['hostgroup']['url_target']['default'] = $this->getValue('global', 0, 'url_target');
            $this->validConfig['service']['only_hard_states']['default'] = $this->getValue('global', 0, 'only_hard_states');
            $this->validConfig['service']['backend_id']['default'] = $this->getValue('global', 0, 'backend_id');
            $this->validConfig['service']['iconset']['default'] = $this->getValue('global', 0, 'iconset');
            $this->validConfig['service']['hover_template']['default'] = $this->getValue('global', 0, 'hover_template');
            $this->validConfig['service']['hover_delay']['default'] = $this->getValue('global', 0, 'hover_delay');
            $this->validConfig['service']['label_show']['default'] = $this->getValue('global', 0, 'label_show');
            $this->validConfig['service']['label_x']['default'] = $this->getValue('global', 0, 'label_x');
            $this->validConfig['service']['label_y']['default'] = $this->getValue('global', 0, 'label_y');
            $this->validConfig['service']['label_width']['default'] = $this->getValue('global', 0, 'label_width');
            $this->validConfig['service']['label_background']['default'] = $this->getValue('global', 0, 'label_background');
            $this->validConfig['service']['url_target']['default'] = $this->getValue('global', 0, 'url_target');
            $this->validConfig['servicegroup']['only_hard_states']['default'] = $this->getValue('global', 0, 'only_hard_states');
            $this->validConfig['servicegroup']['backend_id']['default'] = $this->getValue('global', 0, 'backend_id');
            $this->validConfig['servicegroup']['iconset']['default'] = $this->getValue('global', 0, 'iconset');
            $this->validConfig['servicegroup']['hover_template']['default'] = $this->getValue('global', 0, 'hover_template');
            $this->validConfig['servicegroup']['hover_delay']['default'] = $this->getValue('global', 0, 'hover_delay');
            $this->validConfig['servicegroup']['label_show']['default'] = $this->getValue('global', 0, 'label_show');
            $this->validConfig['servicegroup']['label_x']['default'] = $this->getValue('global', 0, 'label_x');
            $this->validConfig['servicegroup']['label_y']['default'] = $this->getValue('global', 0, 'label_y');
            $this->validConfig['servicegroup']['label_width']['default'] = $this->getValue('global', 0, 'label_width');
            $this->validConfig['servicegroup']['label_background']['default'] = $this->getValue('global', 0, 'label_background');
            $this->validConfig['servicegroup']['url_target']['default'] = $this->getValue('global', 0, 'url_target');
            $this->validConfig['map']['only_hard_states']['default'] = $this->getValue('global', 0, 'only_hard_states');
            $this->validConfig['map']['iconset']['default'] = $this->getValue('global', 0, 'iconset');
            $this->validConfig['map']['hover_template']['default'] = $this->getValue('global', 0, 'hover_template');
            $this->validConfig['map']['hover_delay']['default'] = $this->getValue('global', 0, 'hover_delay');
            $this->validConfig['map']['label_show']['default'] = $this->getValue('global', 0, 'label_show');
            $this->validConfig['map']['label_x']['default'] = $this->getValue('global', 0, 'label_x');
            $this->validConfig['map']['label_y']['default'] = $this->getValue('global', 0, 'label_y');
            $this->validConfig['map']['label_width']['default'] = $this->getValue('global', 0, 'label_width');
            $this->validConfig['map']['label_background']['default'] = $this->getValue('global', 0, 'label_background');
            $this->validConfig['map']['url_target']['default'] = $this->getValue('global', 0, 'url_target');
            $this->validConfig['shape']['url_target']['default'] = $this->getValue('global', 0, 'url_target');
            if (DEBUG&&DEBUGLEVEL&1) debug('End method GlobalMapCfg::getObjectDefaults()');
      }


Generated by  Doxygen 1.6.0   Back to index