function workflow_state_transition_record_load in Workflow Extensions 6
Same name and namespace in other branches
- 7 workflow_extensions.module \workflow_state_transition_record_load()
Load function belonging to the above menu option 'workflow-log/%workflow-state-transition-record'. Maps to this function just like 'node/%node' maps to node_load().
Parameters
$hid: The ID of the workflow state transition record to load.
Return value
object representing one row from the {workflow_node_history} table
File
- ./
workflow_extensions.module, line 92 - UI-related improvements to the Workflow module and tokens for Rules.
Code
function workflow_state_transition_record_load($hid) {
$workflow_state_transition_record = db_fetch_object(db_query('SELECT * FROM {workflow_node_history} WHERE hid = %d', $hid));
return $workflow_state_transition_record;
}