You are here

Functions in ShURLy 8

Primary tabs

Namesort descending Location Description Direct uses Strings
shurly_analytics_shurly_redirect_after shurly_analytics/shurly_analytics.module Implements shurly_redirect_after().
shurly_api_key_form shurly_service/shurly_service.module Form callback; Display a form with a textfield containing a user's API key. 1
shurly_api_key_form_submit shurly_service/shurly_service.module Submit handler for shurly_api_key_form(). Regenerate a user API key.
shurly_cron ./shurly.module Implements hook_cron().
shurly_dec2any ./shurly.module From http://www.php.net/manual/en/function.base-convert.php#52450. 1
shurly_disable_url ./shurly.module
shurly_expand ./shurly.module Function to get the long url. 2
shurly_flood_is_allowed ./shurly.module Function to check if the current user is in the flood table. 1
shurly_flood_register_event ./shurly.module Function to store the flood event. 1
shurly_generate_new_api_key shurly_service/shurly_api_keys.inc Generate a new api key for this user and put it into the database. 1
shurly_generate_random ./shurly.module Generate a random short URL Pretty much unused at this point this method could take a LOOOONG time on a site with lots of URLs
shurly_get_api_key shurly_service/shurly_api_keys.inc 1
shurly_get_latest_short ./shurly.module Get the latest generated short URL by a given user for a given long URL. 2
shurly_get_redirect ./shurly.module Given the short URL, return the long one NOTE: Always check $redirect->active before using the result 2
shurly_get_uid shurly_service/shurly_api_keys.inc 7
shurly_gsb ./shurly.module Check the URL against Google Safe browser for phishing, malware of both. 1 2
shurly_help ./shurly.module Implements hook_help().
shurly_host_is_local ./shurly.module Check whether the given resolved host is the localhost. 1
shurly_host_is_private ./shurly.module Check whether the given hostname matches a private IP address. 1
shurly_host_is_resolveable ./shurly.module Check whether the input $hostname can be resolved to a valid IP address. 1
shurly_install ./shurly.install Implements hook_install().
shurly_next_url ./shurly.module Return next available short URL. 2
shurly_page_attachments ./shurly.module Implements hook_page_attachments().
shurly_path_available ./shurly.module Checks to see if there's a menu handler, path alias, or language prefix for a given path 4
shurly_rate_limit_allowed ./shurly.module Check rate limit for this user return an array in the following format array( 'allowed' => TRUE/FALSE 'rate' => number of requests allowed 'time' => period of time in minutes ) 3
shurly_save_url ./shurly.module API function to save a URL. 2
shurly_schema ./shurly.install Implements hook_schema().
shurly_service_access_api_key shurly_service/shurly_service.module 1
shurly_service_block_info shurly_service/shurly_service.module Implements hook_block_info().
shurly_service_block_view shurly_service/shurly_service.module Implements hook_block_view().
shurly_service_expand shurly_service/shurly_service.inc Callback for shurly/api/shorten. 1
shurly_service_menu shurly_service/shurly_service.module Implements hook_menu().
shurly_service_output shurly_service/shurly_service.inc Output data in a given format. 4
shurly_service_output_json shurly_service/shurly_service.inc Output JSON data.
shurly_service_output_jsonp shurly_service/shurly_service.inc Output JSON data.
shurly_service_output_php shurly_service/shurly_service.inc Output PHP serialized data.
shurly_service_output_txt shurly_service/shurly_service.inc Output txt data Just outputs the shortUrl attribute... won't show errors
shurly_service_output_xml shurly_service/shurly_service.inc Output xml data.
shurly_service_permission shurly_service/shurly_service.module Implements hook_permission().
shurly_service_schema shurly_service/shurly_service.install Implements hook_schema().
shurly_service_shorten shurly_service/shurly_service.inc Callback for shurly/api/shorten. 1
shurly_service_views_api shurly_service/shurly_service.module Implementation of hook_views_api. Notifies the Views module that we're compatible with a particular API revision.
shurly_service_views_data shurly_service/views/shurly_service.views.inc @file Shurly Service Views data include file.
shurly_set_link_active ./shurly.module Activate or deactivate a link. 2
shurly_shorten ./shurly.module API function to shorten a URL. 3
shurly_uninstall ./shurly.install Implement hook_uninstall().
shurly_url_exists ./shurly.module Check to see if this short URL already exists. 5
shurly_validate_custom ./shurly.module Validate custom short URL string. 3
shurly_validate_long ./shurly.module Validate a long URL. 3
shurly_views_data ./shurly.views.inc @file Shurly Views data include file.

Pages

Other projects