You are here

function _glossify_node_load in Glossify 6.3

Helper function that emulates a contributing module's nodeapi load operation

Parameters

stdObject:

module:

1 call to _glossify_node_load()
_update_keywords_for_methods in ./glossify.module
Helper function that updates the keyword-tables according to the new/old methods.

File

./glossify.module, line 653

Code

function _glossify_node_load(&$node, $module) {
  $fn = $module . '_nodeapi';
  $result = $fn($node, 'load');
  if ($result) {

    // The content module seems to produce no output with the load operation
    foreach ($result as $key => $value) {
      $node->{$key} = $value;
    }
  }
}