fileupload.module

Version

1.5.4.2 (checked in on 2008/05/27 at 17:14:02 by snufkin)

Description

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

@Database definition:

<?php

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_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_submitImplementation of hook_submit().
fileupload_updateImplementation of hook_update().
fileupload_validateImplementation of hook_validate().
fileupload_viewImplementation of hook_view.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.