You are here

function example_node_load in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_upgrade/tests/old/samples/example.module \example_node_load()

File

coder_upgrade/tests/old/samples/example.module, line 2039

Code

function example_node_load() {
  $node = node_load(1);
  $node = node_load($nid);
  $node = node_load(array(
    'nid' => 1,
  ));
  $node = node_load(arg(1));
  if ($node = node_load(1)) {
  }
  $node = node_load(1, 1);
  $node = node_load($nid, $revision);
  $node = node_load(array(
    'nid' => 1,
  ), 1);
  $node = node_load(1, 1, TRUE);
  $node = node_load(array(
    'nid' => 1,
  ), 1, TRUE);
  $node = node_load($nid, $revision, $reset);
  $node = node_load(array(
    'title' => $title,
  ));
  $node = node_load(array(
    'title' => $title,
  ), 1);
  $node = node_load(array(
    'title' => $title,
  ), $vid);
  $node = node_load(array(
    'title' => $title,
  ), 1, TRUE);
  if ($node = node_load(array(
    'title' => $title,
  ))) {
  }
}