| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 1146 lines (40 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| image_help($path, $arg) X-Ref |
| Implementation of hook_help(). |
| image_theme() X-Ref |
| Implementation of hook_theme(). |
| image_node_info() X-Ref |
| Implementation of hook_node_info |
| image_perm() X-Ref |
| Implementation of hook_perm |
| image_access($op, $node, $account) X-Ref |
| Implementation of hook_access(). |
| image_menu() X-Ref |
| Implementation of hook_menu |
| image_cron() X-Ref |
| Implements hook_cron. (deletes old temp images) |
| image_node_operations() X-Ref |
| Implementation of hook_node_operations(). |
| image_operations_rebuild($nids) X-Ref |
| No description |
| image_file_download($filename) X-Ref |
| Implementation of hook_file_download(). Note that in Drupal 5, the upload.module's hook_file_download() checks its permissions for all files in the {files} table. We store our file information in {files} if private files transfers are selected and the upload.module is enabled, users will the 'view uploaded files' permission to view images. |
| image_link($type, $node, $main = 0) X-Ref |
| Implementation of hook_link. |
| image_block($op = 'list', $delta = 0, $edit = array() X-Ref |
| Implementation of hook_block. Offers 2 blocks: latest image and random image |
| image_form_add_thumbnail($form, &$form_state) X-Ref |
| No description |
| image_form(&$node, $form_state) X-Ref |
| Implementation of hook_form(). |
| image_form_validate($form, &$form_state) X-Ref |
| No description |
| image_form_submit($form, &$form_state) X-Ref |
| No description |
| image_view($node, $teaser = 0, $page = 0) X-Ref |
| Implementation of hook_view |
| image_load(&$node) X-Ref |
| Implementation of hook_load(). |
| _image_build_derivatives_if_needed(&$node) X-Ref |
| Rebuild derivatives if needed. Helper function for image_load(). |
| image_insert($node) X-Ref |
| Implementation of hook_insert(). |
| image_update(&$node) X-Ref |
| Implementation of hook_update(). Take $node by reference so we can use this to save the node after rebuilding derivatives. |
| image_delete($node) X-Ref |
| Implementation of hook_delete(). |
| image_display(&$node, $label = IMAGE_PREVIEW, $attributes = array() X-Ref |
| Create an <img> tag for an image. |
| image_fetch($nid = 0, $size = IMAGE_PREVIEW) X-Ref |
| Fetches an image file, allows "shorthand" image urls such of the form: image/view/$nid/$label (e.g. image/view/25/thumbnail or image/view/14) |
| theme_image_teaser($node, $size) X-Ref |
| Theme a teaser |
| theme_image_body($node, $size) X-Ref |
| Theme a body |
| theme_image_display($node, $label, $url, $attributes) X-Ref |
| Theme an img tag for displaying the image. |
| theme_image_block_random($images, $size) X-Ref |
| Theme a random block |
| theme_image_block_latest($images, $size) X-Ref |
| Theme a latest block |
| image_get_random($count = 1, $tid = 0) X-Ref |
| Fetch a random N image(s) - optionally from a given term. |
| image_get_latest($count = 1, $tid = 0) X-Ref |
| Fetch the latest N image(s) - optionally from a given term. |
| _image_check_settings() X-Ref |
| Verify the image module and toolkit settings. |
| image_get_derivative_sizes($image_path) X-Ref |
| Determine which sizes of derivative images need to be built for this image. param: $image_path return: |
| _image_build_derivatives($node, $temp = FALSE) X-Ref |
| Generate image derivatives. param: $node param: $temp return: |
| _image_filename($filepath, $label = IMAGE_ORIGINAL, $temp = FALSE) X-Ref |
| Creates an image filename. param: $filepath return: |
| image_get_sizes($size = NULL, $aspect_ratio = NULL) X-Ref |
| Helper function to return the defined sizes (or proper defaults). param: $size param: $aspect_ratio return: |
| _image_get_sizes($size = NULL, $aspect_ratio = NULL) X-Ref |
| Helper function to preserve backwards compatibility. This has been deprecated in favor of image_get_sizes(). |
| _image_is_required_size($size) X-Ref |
| Is a given size a built-in, required size? param: $size return: boolean |
| _image_insert(&$node, $size, $image_path) X-Ref |
| Moves temporary (working) images to the final directory and stores relevant information in the files table |
| _image_file_remove($file) X-Ref |
| Remove image file if no other node references it. param: $file |
| image_create_node_from($filepath, $title = NULL, $body = '', $taxonomy = NULL, $keep_original = FALSE) X-Ref |
| Function to other modules to use to create image nodes. param: $filepath param: $title param: $body param: $taxonomy param: $keep_original return: |
| image_views_api() X-Ref |
| Implementation of hook_views_api(). |
| image_content_extra_fields($type_name) X-Ref |
| Implementation of hook_content_extra_fields(). Lets CCK expose the image weight in the node content. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |