[ Index ]

PHP Cross Reference of Yamoon 0.9.0

title

Body

[close]

/Yamoon/ -> Global.php (summary)

Global.php - This is not a class, only a set of functions. Including this file you get "for free" the $config object and four list methods to build form selects.

File Size: 89 lines (2 kb)
Included or required: 11 times
Referenced: 0 times
Includes or requires: 6 files
 Yamoon/Service.php
 Yamoon/Company.php
 Yamoon/Config.php
 Yamoon/Language.php
 Yamoon/Host.php
 Yamoon/Mrtg.php

Defines 4 functions

  getCompanies()
  getProbes()
  getServices()
  getLanguages()

Functions
Functions that are not part of a class:

getCompanies()   X-Ref
getCompanies get all companies from database. It's used on the main
page index.php.

$companyList = getCompanies();

getProbes($onlyActive="")   X-Ref
getProbes get all probes from database. It's used on the poller.php
script to get all active probes without going inside each company.
This method also lists inactive probes.

As the Company class does it i'm still thinking if it makes sense.

$probeList = getProbes();

getServices()   X-Ref
getServices get all services from database. It's used on the admin
page admin.php and on the edit company page for insert probe select.

$serviceList = getServices();

getLanguages()   X-Ref
getLanguage get all languages from database. It's used on the admin
page admin.php and on the edit service page on admin.

$languageList = getLanguages();



Generated: Sat Feb 19 17:29:53 2005 Cross-referenced by PHPXref 0.6