[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

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

(no description)

File Size: 360 lines (13 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

News:: (10 methods):
  getListByProject()
  addProjectAssociation()
  insert()
  remove()
  removeProjectAssociations()
  update()
  getDetails()
  getAdminDetails()
  getList()
  getAssociatedProjects()


Class: News  - X-Ref

getListByProject($prj_id, $show_full_message = FALSE)   X-Ref
Method used to get the list of news entries available in the
system for a given project.

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

addProjectAssociation($nws_id, $prj_id)   X-Ref
Method used to add a project association to a news entry.

param: integer $nws_id The news ID
param: integer $prj_id The project ID
return: void

insert()   X-Ref
Method used to add a news entry to the system.

return: integer 1 if the insert worked, -1 otherwise

remove()   X-Ref
Method used to remove a news entry from the system.

return: boolean

removeProjectAssociations($nws_id, $prj_id=FALSE)   X-Ref
Method used to remove the project associations for a given
news entry.

param: integer $nws_id The news ID
param: integer $prj_id The project ID
return: boolean

update()   X-Ref
Method used to update a news entry in the system.

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

getDetails($nws_id)   X-Ref
Method used to get the details of a news entry for a given news ID.

param: integer $nws_id The news entry ID
return: array The news entry details

getAdminDetails($nws_id)   X-Ref
Method used to get the details of a news entry for a given news ID.

param: integer $nws_id The news entry ID
return: array The news entry details

getList()   X-Ref
Method used to get the list of news entries available in the system.

return: array The list of news entries

getAssociatedProjects($nws_id)   X-Ref
Method used to get the list of associated projects for a given
news entry.

param: integer $nws_id The news ID
return: array The list of projects



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