nacoma_Core Class Reference

Helper class for nacoma. More...

Public Member Functions

 delHost ($host)
 Delete host (and associated services) using monitor CLI api.
 delService ($service)
 Delete the service using monitor CLI api.

Static Public Member Functions

static link ($path=false, $img=false, $title=false)
 Check if a link to Nacoma should be displayed This depends on if Nacoma is actually available and if the user is authorized to use it.
static allowed ()
 Check if the current user is allowed to use Nacoma.

Detailed Description

Helper class for nacoma.

Copyright 2009 op5 AB op5, and the op5 logo are trademarks, servicemarks, registered servicemarks or registered trademarks of op5 AB. All other trademarks, servicemarks, registered trademarks, and registered servicemarks mentioned herein may be the property of their respective owner(s). The information contained herein is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.


Member Function Documentation

static nacoma_Core::allowed (  )  [static]

Check if the current user is allowed to use Nacoma.

Returns:
true/false
nacoma_Core::delHost ( host  ) 

Delete host (and associated services) using monitor CLI api.

Parameters:
$host string host to be deleted
nacoma_Core::delService ( service  ) 

Delete the service using monitor CLI api.

Parameters:
$service string service to be deleted, format HOST;SERVICE

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 6 May 2013 for ninja by  doxygen 1.6.1