You are here

Functions in ShrinkTheWeb 8

Primary tabs

Namesort descending Location Description Direct uses Strings
requestThumbnailsRefresh src/RefreshThumbnailsBatch.inc Request refresh batch process callback. 1
requestThumbnailsRefreshFinished src/RefreshThumbnailsBatch.inc Request refresh batch finish callback. 1
shrinktheweb_cacheFileExpired ./shrinktheweb.api.inc Determine if specified file has expired from the cache. 1
shrinktheweb_checkLimitReached ./shrinktheweb.api.inc Check if the limit reached image is existing, if so return true return false if there is no image existing or the limit reached file is older then 6 hours. 1
shrinktheweb_checkWebsiteThumbnailCaptured ./shrinktheweb.api.inc Method that checks if the thumbnail for the specified website exists. 1
shrinktheweb_createCacheDirectory ./shrinktheweb.api.inc Create cache directory if it doesn't exist. 3
shrinktheweb_deleteAllImages ./shrinktheweb.api.inc Delete cached images. 2
shrinktheweb_deleteErrorImages ./shrinktheweb.api.inc Delete error images. 1
shrinktheweb_deleteThumbnail ./shrinktheweb.api.inc Delete thumbnail. 1
shrinktheweb_downloadRemoteImageToLocalPath ./shrinktheweb.api.inc Method to get image at the specified remote Url and attempt to save it to the specified local path. 3
shrinktheweb_entity_bundle_delete ./shrinktheweb.module Implements hook_entity_bundle_delete().
shrinktheweb_entity_view_alter ./shrinktheweb.module Implements hook_entity_view_alter().
shrinktheweb_field_purge_field ./shrinktheweb.module Implements hook_field_purge_field().
shrinktheweb_fileGetContent ./shrinktheweb.api.inc Gets file content by URL. 5
shrinktheweb_file_download ./shrinktheweb.module Implementation of hook_file_download().
shrinktheweb_form_entity_view_display_edit_form_alter ./shrinktheweb.module Implements hook_form_alter().
shrinktheweb_form_system_modules_alter ./shrinktheweb.module Implements hook_form_alter().
shrinktheweb_generateHash ./shrinktheweb.api.inc Generate the hash for the thumbnail, this is used as filename also. 4
shrinktheweb_generateOptions ./shrinktheweb.api.inc Generate options. !!! SLIGHTLY CHANGED FOR DRUPAL !!! 4
shrinktheweb_generateRequestArgs ./shrinktheweb.api.inc Generate the request arguments. 2
shrinktheweb_getAccountInfo ./shrinktheweb.api.inc Get Account Info and return it as array. 2
shrinktheweb_getAccXMLResponse ./shrinktheweb.api.inc Store the Account XML response in an array. 1
shrinktheweb_getArrayValue ./shrinktheweb.api.inc Safe method to get the value from an array using the specified key.
shrinktheweb_getCachedThumbnail ./shrinktheweb.api.inc Get a thumbnail, caching it first if possible. 1
shrinktheweb_getLegacyResponse ./shrinktheweb.api.inc Get status code in case of legacy response 2
shrinktheweb_getNoResponseImage ./shrinktheweb.api.inc Gets the account problem image and returns the relative path to the cached image. 1
shrinktheweb_getThumbnail ./shrinktheweb.api.inc Gets the thumbnail for the specified website, stores it in the cache, and then returns the relative path to the cached image. 2
shrinktheweb_getThumbnailAdvanced ./shrinktheweb.api.inc Getting the thumbnail with advanced api. !!! SLIGHTLY CHANGED FOR DRUPAL !!! 1
shrinktheweb_getThumbnailStatus ./shrinktheweb.api.inc Get thumbnail status 1
shrinktheweb_getThumbnailURL ./shrinktheweb.api.inc Gets the thumbnail for the specified website, stores it in the cache, and then returns the HTML for loading the image. !!! SLIGHTLY CHANGED FOR DRUPAL !!! 1
shrinktheweb_getXMLResponse ./shrinktheweb.api.inc Store the XML response in an array and generate status bits. 2
shrinktheweb_get_thumbnail ./shrinktheweb.module Generates or returns the path/source of the thumbnail 7
shrinktheweb_help ./shrinktheweb.module Implementation of hook_help()
shrinktheweb_install ./shrinktheweb.install Implements hook_install
shrinktheweb_refreshThumbnail ./shrinktheweb.api.inc Refresh a thumbnail for a url with specified options. First delete it and then do a new request and return the HTML for image loading. !!! SLIGHTLY CHANGED FOR DRUPAL !!! 1
shrinktheweb_schema ./shrinktheweb.install Implementation of hook_schema().
shrinktheweb_theme ./shrinktheweb.module Implementation of hook_theme()
shrinktheweb_uninstall ./shrinktheweb.install
template_preprocess_shrinktheweb_formatter_shrinktheweb_link_default ./shrinktheweb.module Displays the thumbnail as '[ShrinkTheWeb] Title as link'.
template_preprocess_shrinktheweb_formatter_shrinktheweb_link_plain ./shrinktheweb.module Displays the thumbnail as '[ShrinkTheWeb] URL as plain text'.
template_preprocess_shrinktheweb_formatter_shrinktheweb_link_separate ./shrinktheweb.module Displays the thumbnail as '[ShrinkTheWeb] Separate title and URL'.
template_preprocess_shrinktheweb_formatter_shrinktheweb_link_short ./shrinktheweb.module Displays the thumbnail as '[ShrinkTheWeb] Short as link with title "Link"'.
template_preprocess_shrinktheweb_formatter_shrinktheweb_link_url ./shrinktheweb.module Displays the thumbnail as '[ShrinkTheWeb] URL, as link'.
template_preprocess_shrinktheweb_image ./shrinktheweb.module Displays the thumbnail, also used for '[ShrinkTheWeb] No link text'
template_preprocess_shrinktheweb_image_link ./shrinktheweb.module Displays the thumbnail as a link.
template_preprocess_shrinktheweb_modules_fieldset ./shrinktheweb.module Prepares variables for the module details templates.
_shrinktheweb_custom_settings ./shrinktheweb.module Generate custom request options for field formatters. 7
_shrinktheweb_link_check ./shrinktheweb.module Custom callback for array_filter. 1
_shrinktheweb_submit_handler ./shrinktheweb.module 1

Other projects