You are here

function data_node_set_active in Data 6

Set a specific node as the active node. This is used for the collection workflow.

3 calls to data_node_set_active()
data_node_active_form_create_submit in data_node/data_node.module
Create submit handler for form.
data_node_active_form_submit in data_node/data_node.module
Submit handler for form.
data_node_active_page in data_node/data_node.module
Page callback for setting the active node.

File

data_node/data_node.module, line 354
Hooks and API functions for Data Node module.

Code

function data_node_set_active($table_name, $nid) {
  $_SESSION['data_node_active'][$table_name] = $nid;
}