[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

/include/ -> class.stats.php (summary)

(no description)

File Size: 544 lines (20 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 8 files
 include/class.project.php
 include/class.status.php
 include/class.user.php
 include/class.release.php
 include/class.misc.php
 include/class.auth.php
 include/class.priority.php
 include/class.error_handler.php

Defines 1 class

Stats:: (13 methods):
  hasData()
  getPieChart()
  getAssocCategory()
  getAssocRelease()
  getAssocStatus()
  getStatus()
  getCategory()
  getRelease()
  getAssocPriority()
  getPriority()
  getAssocUser()
  getUser()
  getEmailStatus()


Class: Stats  - X-Ref

Class to handle the business logic related to the generation of the
issue statistics displayed in the main screen of the application.

hasData($data)   X-Ref
Method used to check if the provided array has valid data (e.g. non-zero)

param: array $data The data to check against
return: boolean

getPieChart()   X-Ref
Method used to check if the pie charts should be displayed in the main
screen of the application.

return: boolean

getAssocCategory($hide_closed = false)   X-Ref
Method used to get an associative array of the list of categories and the
total number of issues associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of categories

getAssocRelease($hide_closed = true)   X-Ref
Method used to get an associative array of the list of releases and the
total number of issues associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of releases

getAssocStatus($hide_closed = true)   X-Ref
Method used to get an associative array of the list of statuses and the
total number of issues associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of statuses

getStatus($hide_closed = false)   X-Ref
Method used to get the list of statuses and the total number of issues
associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of statuses

getCategory($hide_closed = false)   X-Ref
Method used to get the list of categories and the total number of issues
associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of categories

getRelease($hide_closed = false)   X-Ref
Method used to get the list of releases and the total number of issues
associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of releases

getAssocPriority($hide_closed = false)   X-Ref
Method used to get an associative array of the list of priorities and the
total number of issues associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of priorities

getPriority($hide_closed = false)   X-Ref
Method used to get the list of priorities and the total number of issues
associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of statuses

getAssocUser($hide_closed = false)   X-Ref
Method used to get an associative array of the list of users and the
total number of issues associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of users

getUser($hide_closed = false)   X-Ref
Method used to get the list of users and the total number of issues
associated with each of them.

param: boolean $hide_closed If closed issues should be hidden.
return: array List of users

getEmailStatus()   X-Ref
Method used to get the total number of issues associated with each
email status.

return: array List of statuses



Generated: Wed Dec 19 21:21:33 2007 Cross-referenced by PHPXref 0.7