[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

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

(no description)

File Size: 329 lines (12 kb)
Included or required: 9 times
Referenced: 0 times
Includes or requires: 3 files
 include/class.misc.php
 include/class.validation.php
 include/class.error_handler.php

Defines 1 class

Release:: (9 methods):
  isAssignable()
  getDetails()
  getTitle()
  removeByProjects()
  remove()
  update()
  insert()
  getList()
  getAssocList()


Class: Release  - X-Ref

Class to handle the business logic related to the administration
of releases in the system.

isAssignable($pre_id)   X-Ref
Method used to check whether a release is assignable or not.

param: integer $pre_id The release ID
return: boolean

getDetails($pre_id)   X-Ref
Method used to get the details of a specific release.

param: integer $pre_id The release ID
return: array The details of the release

getTitle($pre_id)   X-Ref
Method used to get the title of a specific release.

param: integer $pre_id The release ID
return: string The title of the release

removeByProjects($ids)   X-Ref
Method used to remove all releases associated with a specific
set of projects.

param: array $ids The list of projects
return: boolean

remove()   X-Ref
Method used to remove releases by using the administrative
interface of the system.

return: boolean

update()   X-Ref
Method used to update the release by using the administrative
interface of the system.

return: integer 1 if the update worked, -1 or -2 otherwise

insert()   X-Ref
Method used to add a new release by using the administrative
interface of the system.

return: integer 1 if the update worked, -1 or -2 otherwise

getList($prj_id)   X-Ref
Method used to get the list of releases associated with a
specific project.

param: integer $prj_id The project ID
return: array The list of releases

getAssocList($prj_id, $show_all_dates = false)   X-Ref
Method used to get a list as an associative array of the
releases.

param: integer $prj_id The project ID
param: boolean $show_all_dates If true all releases, not just those with future dates will be returned
return: array The list of releases



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