function casetracker_realm_load in Case Tracker 6
Same name and namespace in other branches
- 7 casetracker.module \casetracker_realm_load()
Load states for a particular realm. Wrapper around casetracker_case_state_load()
Parameters
$realm: Name of the realm ('status', 'priority', or 'type').
Return value
array with the keys being the state ID and the values being their names.
14 calls to casetracker_realm_load()
- CasetrackerAdminTest::testCasetrackerAdminCreation in tests/
casetracker_admin.test - Main test routine.
- casetracker_actions_set_priority_action_form in casetracker_actions/
casetracker_actions.module - Select a priority level for the Set Priority action.
- casetracker_actions_set_status_action_form in casetracker_actions/
casetracker_actions.module - Select a status condition for the Set Status action.
- casetracker_actions_set_type_action_form in casetracker_actions/
casetracker_actions.module - Select a type for the Set Type action.
- casetracker_case_form_common in ./
casetracker.module - Common form elements for cases, generic enough for use either in a full node display, or in comment displays and updating. Default values are calculated based on an existing $form['nid']['#value'].
File
- ./
casetracker.module, line 621 - Enables the handling of projects and their cases.
Code
function casetracker_realm_load($realm) {
return casetracker_case_state_load(null, $realm);
}