/includes/page_router.inc.php

Description
Functions
default_page (line 186)

function default_page()

displays the default home page message for the CCM

  • return: html content for default page
string default_page ()
page_router (line 13)

function page_router()

main page content routing function. Handles ALL requests for action in the CCM to build appropriate page

  • return: html page output
string page_router ()
route_submission (line 348)

function route_submission

switch that handles submissions for adding and modifying config objects

  • return: (int exitCode, string exitMessage)
array route_submission (string $type)
  • string $type: nagios object type (host,service,contact, etc)
route_view (line 223)

function route_view()

determines and fetches information to be presented in in the main CCM display tables based on object $type

  • return: array of filtered DB results ['keyName'] string used for table header ['keyDesc'] string used for table description ['config_names'] array of config_names for services table | empty array
  • TODO: add cases for remaining nagios object configurations (depencencies, escalations, etc)
array route_view (string $type)
  • string $type: Nagios object type (host,service,contact, etc)

Documentation generated on Thu, 04 Aug 2011 14:15:15 -0500 by phpDocumentor 1.4.3