You are here

function _sheetnode_load in Sheetnode 5

4 calls to _sheetnode_load()
sheetnode_form in ./sheetnode.module
Implementation of hook_form().
sheetnode_nodeapi in ./sheetnode.module
Implementation of hook_nodeapi().
sheetnode_view in ./sheetnode.module
Implementation of hook_view().
_sheetnode_phpexcel_export in modules/sheetnode_phpexcel/sheetnode_phpexcel.export.inc

File

./sheetnode.module, line 698

Code

function _sheetnode_load($nid, $vid) {
  $value = db_result(db_query("SELECT value FROM {sheetnode} WHERE nid=%d AND vid=%d", $nid, $vid));
  return $value ? unserialize($value) : '';
}