noc.lib.app.reportapplication

Module Contents

class noc.lib.app.reportapplication.ReportApplication(site)

Bases: noc.lib.app.application.Application

form
content_types
styles = []
inline_styles =
get_form(self)
supported_formats(self)

Return a list of supported formats :return:

get_data(self, **kwargs)

Return report results to render Overriden in subclasses :param kwargs: :return:

report_html(self, request, result, query)

Returns render report as HTML :param request: HTTP Request :param result: :param query: :return:

get_menu(self)
view_report(self, request, format='html')

Render report :param request: :param format: :return: