uc_file.module

Version 1.1.2.14 (checked in on 2008/10/07 at 15:47:57 by rszrama)

Constants

NameDescription
UC_FILE_BYTE_SIZE
UC_FILE_PAGER_SIZE
UC_FILE_REQUEST_LIMIT

Functions

NameDescription
theme_uc_file_downloads_tokenTheme file download links token
theme_uc_file_files_formImplementation of theme_form($form)
uc_file_cart_itemImplementation of hook_cart_item().
uc_file_feature_deleteproduct_feature delete function
uc_file_feature_formForm builder for hook_product_feature
uc_file_feature_form_submit
uc_file_feature_form_validate
uc_file_feature_settingsForm builder for file settings
uc_file_feature_settings_submit
uc_file_feature_settings_validate
uc_file_files_adminPage builder for file products admin
uc_file_files_formForm builder for file products admin
uc_file_files_form_submit
uc_file_files_form_validate
uc_file_files_tableTable builder for file products admin
uc_file_form_alterImplementation of hook_form_alter().
uc_file_menuImplementation of hook_menu().
uc_file_notify_settingsForm builder for file download notification settings.
uc_file_orderImplementation of hook_order().
uc_file_permImplementation of hook_perm().
uc_file_product_featureImplementation of hook_product_feature().
uc_file_store_statusImplementation of hook_store_status().
uc_file_token_listImplementation of hook_token_list().
uc_file_token_valuesImplementation of hook_token_values().
uc_file_uc_messageImplementation of hook_uc_message().
uc_file_userImplementation of hook_user().
uc_file_user_downloadsTable builder for user downloads
_autocomplete_filenameImplement Drupal autocomplete textfield
_email_file_downloadEmail a user with download links for a product file download
_file_downloadPerform first-pass authorization. Call authorization hooks afterwards.
_file_download_denyDeny a file download
_file_download_transferSend the file's binary data to a user via HTTP and update the uc_file_users table.
_file_expiration_dateReturn a file expiration date given a purchase date
_file_table_actionPerform a specified action on the uc_files table
_generate_hashGenerate hash used for unique download URLs
_get_adjustment_modelsReturn a list of model adjustments for a given product node
_get_dir_file_idsReturn a list of file ids that are in the directory
_group_filenamesGroup filenames by an attribute while maintaining order.
_sort_fidsTake a list of file ids and sorts the list to where directories are list last and by order of descending depth
_user_table_actionPerform a specified action on the uc_file_users table

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.