[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

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

(no description)

File Size: 428 lines (16 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FAQ:: (11 methods):
  getListBySupportLevel()
  remove()
  removeSupportLevelAssociations()
  update()
  insert()
  addSupportLevelAssociation()
  getDetails()
  getList()
  getAssociatedSupportLevels()
  changeRank()
  _getRanking()


Class: FAQ  - X-Ref

getListBySupportLevel($support_level_id)   X-Ref
Returns the list of FAQ entries associated to a given support level.

param: integer $support_level_id The support level ID
return: array The list of FAQ entries

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

return: boolean

removeSupportLevelAssociations($faq_id)   X-Ref
Method used to remove the support level associations for a given
FAQ entry.

param: integer $faq_id The FAQ ID
return: boolean

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

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

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

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

addSupportLevelAssociation($faq_id, $support_level_id)   X-Ref
Method used to add a support level association to a FAQ entry.

param: integer $faq_id The FAQ ID
param: integer $support_level_id The support level ID
return: void

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

param: integer $faq_id The FAQ entry ID
return: array The FAQ entry details

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

return: array The list of news entries

getAssociatedSupportLevels($prj_id, $faq_id)   X-Ref
Method used to get the list of associated support levels for a given
FAQ entry.

param: integer $prj_id The project ID
param: integer $faq_id The FAQ ID
return: array The list of projects

changeRank($faq_id, $rank_type)   X-Ref
Method used to quickly change the ranking of a faq entry
from the administration screen.

param: integer $faq_id The faq entry ID
param: string $rank_type Whether we should change the entry down or up (options are 'asc' or 'desc')
return: boolean

_getRanking()   X-Ref
Returns an associative array with the list of faq entry
IDs and their respective ranking.

return: array The list of faq entries



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