You are here

function msnf_step_get_step in Multistep Nodeform 7

Same name and namespace in other branches
  1. 6 includes/msnf.steps.inc \msnf_step_get_step()

Function to get a steps data.

Parameters

<string> $type_name: Name of content type the step belongs to.

<string> $step_name: Name of step to load.

File

includes/msnf.steps.inc, line 346
Step crud functions.

Code

function msnf_step_get_step($type_name, $step_name) {
  return db_fetch_array(db_query("SELECT * FROM {msnf_step} WHERE type_name = '%s' AND step_name = '%s'", array(
    $type_name,
    $step_name,
  )));
}