You are here

function casetracker_help in Case Tracker 5

Same name and namespace in other branches
  1. 6 casetracker.module \casetracker_help()
  2. 7 casetracker.module \casetracker_help()

Implementation of hook_help().

File

./casetracker.module, line 11
Enables the handling of projects and their cases.

Code

function casetracker_help($section) {
  switch ($section) {
    case 'casetracker':
    case 'casetracker/my':
    case 'casetracker/projects':
    case 'casetracker/projects/all':
    case 'casetracker/projects/my':
      return '<p>' . t('A list of projects created within Case Tracker, per your filter criteria.') . '</p>';
    case 'casetracker/cases':
    case 'casetracker/cases/' . arg(2):
    case 'casetracker/cases/' . arg(2) . '/' . arg(3):
      return '<p>' . t('A list of cases created within Case Tracker, per your filter criteria.') . '</p>';
    case 'user/' . arg(1) . '/cases':
      return '<p>' . t('A list of cases you\'ve created or which have been assigned to you.') . '</p>';
    case 'admin/content/casetracker':
      return '<p>' . t('Current Case Tracker case states are listed below.') . '</p>';
    case 'admin/content/casetracker/state/add':
      return '<p>' . t('You may add a new case state below.') . '</p>';
    case 'admin/content/casetracker/state/edit/' . arg(4):
      return '<p>' . t('You may edit an existing case state below.') . '</p>';
    case 'admin/settings/casetracker':
      return '<p>' . t('Configure the various Case Tracker options with these settings.') . '</p>';
  }
}