object;
$cf = $this->getHelper('CommandForm');
$data = array(
    'host'      => $o->host_name,
    'service'   => $o->service_description
);
?>
  
    | Passive Checks | = $cf->toggleSubmitForm(
        '',
        $o->passive_checks_enabled,
        'startacceptingpassivechecks',
        'stopacceptingpassivechecks',
        $o->passive_checks_enabled_changed === '1',
        $data
    ) ?> | 
  
    | Active Checks | = $cf->toggleSubmitForm(
        '',
        $o->active_checks_enabled,
        'enableactivechecks',
        'disableactivechecks',
        $o->active_checks_enabled_changed === '1',
        $data
    ) ?> | 
  
    | Notifications | = $cf->toggleSubmitForm(
        '',
        $o->notifications_enabled,
        'enablenotifications',
        'disablenotifications',
        $o->notifications_enabled_changed === '1',
        $data
    ) ?> | 
  
    | Event Handler | = $cf->toggleSubmitForm(
        '',
        $o->event_handler_enabled,
        'enableeventhandler',
        'disableeventhandler',
        $o->event_handler_enabled_changed === '1',
        $data
    ) ?> | 
  
    | Flap Detection | = $cf->toggleSubmitForm(
        '',
        $o->flap_detection_enabled,
        'enableflapdetection',
        'disableflapdetection',
        $o->flap_detection_enabled_changed === '1',
        $data
     ) ?> | 
  
    | Obsessing | = $cf->toggleSubmitForm(
        '',
        $o->obsessing,
        'startobsessing',
        'stopobsessing',
        $o->obsessing_changed === '1',
        $data
    ) ?> |