type === 2 ? 'service' : 'host'; /** @var Zend_View_Helper_CommandForm $cf */ $cf = $this->getHelper('CommandForm'); if ($type === 'host') { $objectStateName = strtolower($this->util()->getHostStateName($this->object->host_state)); $objectState = (int) $object->host_state; } else { $objectStateName = strtolower($this->util()->getServiceStateName($this->object->service_state)); $objectState = (int) $object->service_state; } ?>
0): ?> object->host_acknowledged || $this->object->service_acknowledged): ?> labelSubmitForm( 'Remove Ack', 'Remove problem acknowledgement', 'btn-cta btn-half-left', 'removeacknowledgement', array( 'host' => $this->object->host_name, 'service' => $this->object->service_description ) ) ?> Acknowledge
0): ?> service_description) { $notificationsHref = $this->href( 'monitoring/list/notifications', array( 'host' => $object->host_name, 'service' => $object->service_description ) ); } else { $notificationsHref = $this->href( 'monitoring/list/notifications', array( 'host' => $object->host_name ) ); } ?>