You are here

function filedepot_load in filedepot 6

Same name and namespace in other branches
  1. 7 filedepot.module \filedepot_load()

Implementation of hook_load().

File

./filedepot.module, line 553
filedepot.module Filedepot: File Management Module developed by Nextide www.nextide.ca Full featured document managment module with a desktop application feel. Integrated role and user permissions to secure folders, automated notifications, Tag Cloud…

Code

function filedepot_load($node) {
  return db_fetch_object(db_query("SELECT pid as parentfolder,description as folderdesc FROM {filedepot_categories} WHERE nid=%d", $node->nid));
}