fileupload.module

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

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

NameDescription
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.
Login or register to post comments
 
 

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.