Version

1.5.2.2 (checked in on 2006/05/01 at 10:08:51 by webchick)

Description

This is an example to demonstrate how to make a Drupal node support file uploads.

@Database definition:


  CREATE TABLE fileupload (
    nid int(10) unsigned NOT NULL default '0',
    filename varchar(255) not null,
    filepath varchar(255) not null,
    filemime varchar(255) not null,
    filesize int(10) unsigned not null
  );

Functions

Namesort iconDescription
fileupload_accessImplementation of hook_access.
fileupload_deleteImplementation of hook_delete().
fileupload_executeImplementation of hook_execute().
fileupload_file_downloadImplementation of hook_file_download.
fileupload_formImplementation of hook_form().
fileupload_helpImplementation of hook_help.
fileupload_insertImplementation of hook_insert().
fileupload_loadImplementation of hook_load().
fileupload_menuImplementation of hook_menu.
fileupload_node_infoImplementation of hook_node_info.
fileupload_permImplementation of hook_perm.
fileupload_updateImplementation of hook_update().
fileupload_validateImplementation of hook_validate().
fileupload_viewImplementation of hook_view.