[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/imce/inc/ -> imce.page.inc (summary)

(no description)

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

Defines 45 functions

  imce()
  imce_user_page()
  imce_page()
  imce_content()
  imce_js()
  imce_upload_form()
  imce_fileop_form()
  imce_thumb_form()
  imce_delete_form()
  imce_resize_form()
  imce_fileop_form_validate()
  imce_upload_submit()
  imce_thumb_submit()
  imce_delete_submit()
  imce_resize_submit()
  imce_process_files()
  imce_delete_file()
  imce_delete_filepath()
  imce_create_thumbnails()
  imce_create_thumbnail()
  imce_resize_image()
  imce_add_file()
  imce_remove_file()
  imce_validate_all()
  imce_validate_filesize()
  imce_validate_quota()
  imce_validate_tuquota()
  imce_validate_quotas()
  imce_image_info()
  imce_thumbnail_options()
  imce_initiate_profile()
  imce_process_profile()
  imce_process_directories()
  imce_working_directory()
  imce_check_directory()
  imce_inaccessible_directory()
  imce_directory_info()
  imce_subdirectories_accessible()
  imce_perm_exists()
  imce_scan_directory()
  imce_create_tree()
  imce_tree_html()
  theme_imce_root_text()
  theme_imce_user_page()
  imce_file_register()

Functions
Functions that are not part of a class:

imce()   X-Ref
q = imce.


imce_user_page($account)   X-Ref
q = user/x/imce.


imce_page($user, $jsop = NULL)   X-Ref
Returns the imce page for the specified user.


imce_content($user, $jsop = NULL)   X-Ref
Returns the content of the file browser.


imce_js($user, $jsop = '')   X-Ref
Ajax operations. q=imce&jsop={op}


imce_upload_form(&$form_state, $ref)   X-Ref
Upload form.


imce_fileop_form(&$form_state, $ref)   X-Ref
File operations form.


imce_thumb_form(&$imce)   X-Ref
Thumbnail form.


imce_delete_form(&$imce)   X-Ref
Delete form.


imce_resize_form(&$imce)   X-Ref
Resizing form.


imce_fileop_form_validate($form, &$form_state)   X-Ref
Validate file operations form.


imce_upload_submit($form, &$form_state)   X-Ref
Submit upload form.


imce_thumb_submit($form, &$form_state)   X-Ref
Submit thumbnail form.


imce_delete_submit($form, &$form_state)   X-Ref
Submit delete form.


imce_resize_submit($form, &$form_state)   X-Ref
Submit resize form.


imce_process_files($filenames, &$imce, $function, $args = array()   X-Ref
Do batch operations on files.
Used by delete, resize, create thumbnail submissions.


imce_delete_file($filename, &$imce)   X-Ref
Delete a file in the file list.


imce_delete_filepath($filepath)   X-Ref
Delete a file by path.


imce_create_thumbnails($filename, &$imce, $values)   X-Ref
Create all selected thumbnails.


imce_create_thumbnail($filename, &$imce, $thumbnail)   X-Ref
Create a thumbnail.


imce_resize_image($filename, &$imce, $width, $height, $copy = TRUE, $dest = FALSE, $op = 'resize')   X-Ref
Resize an image in the file list. Also used for thumbnail creation.


imce_add_file($file, &$imce)   X-Ref
Add a new file to the file list.


imce_remove_file($filename, &$imce)   X-Ref
Remove a file from the file list.


imce_validate_all(&$file, $imce)   X-Ref
Validate uploaded file.


imce_validate_filesize($file, $maxsize = 0)   X-Ref
Validate filesize for maximum allowed file size.


imce_validate_quota($file, $quota = 0, $currentsize = 0)   X-Ref
Validate filesize for directory quota.


imce_validate_tuquota($file, $quota = 0, $currentsize = 0)   X-Ref
Validate filesize for total user quota.


imce_validate_quotas($file, &$imce, $add = 0)   X-Ref
Validate both directory and total user quota. Returns true/false not errors.


imce_image_info($file)   X-Ref
Check if the file is an image and return info.


imce_thumbnail_options($thumbs = array()   X-Ref
Return thumbnails as options to be used in upload form.


imce_initiate_profile($user)   X-Ref
Initiate and return configuration profile for the $user.


imce_process_profile(&$imce)   X-Ref
Get files and folders of the actve directory. Do custom processing.


imce_process_directories(&$imce, $user)   X-Ref
Translate tokens and evaluate php in directory names.
Convert directories into an associative array (dirname => info)


imce_working_directory(&$imce)   X-Ref
Return an avaliable directory for the profile.


imce_check_directory($dirname, $imce = array()   X-Ref
Create a writable directory(any level) under file system directory.


imce_inaccessible_directory($dirname, $imce = array()   X-Ref
Generate and log a directory access error.


imce_directory_info($dirname, $imce)   X-Ref
Return the permissions for a directory that is accessed directly or indirectly.
A child of a predefined directory in the directory list takes its parent's properties.
If it has multiple parents, it gets the properties of the latter in the list.


imce_subdirectories_accessible(&$imce)   X-Ref
Detect if the subdirectories are accessible through any directory(not just the current one) in the list.


imce_perm_exists(&$imce, $perm)   X-Ref
Check if a permission is given to at least one directory in the list.


imce_scan_directory($dirname, $imce = array()   X-Ref
Scan directory and return file list, subdirectories, and total size.


imce_create_tree(&$imce)   X-Ref
Create directory tree.


imce_tree_html(&$imce, $paths, $q = '?', $prefix = '', $eprefix = '')   X-Ref
Return tree html.
This is not themable because it is complex and needs to be in a proper format for js processing.


theme_imce_root_text($imce_ref)   X-Ref
Returns the text for the root directory in a directory tree.


theme_imce_user_page($account)   X-Ref
Returns the html for user's file browser tab.


imce_file_register($file)   X-Ref
Registers the file as an IMCE file.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7