/** * (non-PHPDoc) * @see \Icinga\Web\Form::createElements() For the method documentation. */ public function createElements(array $formData = array()) { $config = Config::module('monitoring'); parent::createElements($formData); $this->addElements(array(array('checkbox', 'all_services', array('label' => $this->translate('All Services'), 'value' => (bool) $config->get('settings', 'hostcheck_all_services', false), 'description' => $this->translate('Schedule check for all services on the hosts and the hosts themselves.'))))); return $this; }
/** * (non-PHPDoc) * @see \Icinga\Web\Form::createElements() For the method documentation. */ public function createElements(array $formData = array()) { parent::createElements($formData); $this->addElements(array(array('checkbox', 'all_services', array('label' => $this->translate('All Services'), 'description' => $this->translate('Schedule check for all services on the hosts and the hosts themselves.'))))); return $this; }