[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/upload/ -> upload.module (summary)

(no description)

File Size: 642 lines (23 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 22 functions

  upload_help()
  upload_theme()
  upload_perm()
  upload_link()
  upload_menu()
  upload_menu_alter()
  _upload_file_limits()
  upload_file_download()
  upload_node_form_submit()
  upload_form_alter()
  upload_nodeapi()
  theme_upload_attachments()
  upload_space_used()
  upload_total_space_used()
  upload_save()
  upload_delete()
  upload_delete_revision()
  _upload_form()
  theme_upload_form_current()
  theme_upload_form_new()
  upload_load()
  upload_js()

Functions
Functions that are not part of a class:

upload_help($path, $arg)   X-Ref
Implementation of hook_help().


upload_theme()   X-Ref
Implementation of hook_theme()


upload_perm()   X-Ref
Implementation of hook_perm().


upload_link($type, $node = NULL, $teaser = FALSE)   X-Ref
Implementation of hook_link().


upload_menu()   X-Ref
Implementation of hook_menu().


upload_menu_alter(&$items)   X-Ref
No description

_upload_file_limits($user)   X-Ref
Determine the limitations on files that a given user may upload. The user
may be in multiple roles so we select the most permissive limitations from
all of their roles.

param: $user
return:

upload_file_download($filepath)   X-Ref
Implementation of hook_file_download().


upload_node_form_submit(&$form, &$form_state)   X-Ref
Save new uploads and store them in the session to be associated to the node
on upload_save.

param: $node

upload_form_alter(&$form, $form_state, $form_id)   X-Ref
No description

upload_nodeapi(&$node, $op, $teaser = NULL)   X-Ref
Implementation of hook_nodeapi().


theme_upload_attachments($files)   X-Ref
Displays file attachments in table


upload_space_used($uid)   X-Ref
Determine how much disk space is occupied by a user's uploaded files.

param: $uid
return:

upload_total_space_used()   X-Ref
Determine how much disk space is occupied by uploaded files.

return:

upload_save(&$node)   X-Ref
No description

upload_delete($node)   X-Ref
No description

upload_delete_revision($node)   X-Ref
No description

_upload_form($node)   X-Ref
No description

theme_upload_form_current($form)   X-Ref
Theme the attachments list.


theme_upload_form_new($form)   X-Ref
Theme the attachment form.
Note: required to output prefix/suffix.


upload_load($node)   X-Ref
No description

upload_js()   X-Ref
Menu-callback for JavaScript-based uploads.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7