You are here

Functions in ShURLy 6

Primary tabs

Namesort descending Location Description Direct uses Strings
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_block ./shurly.module
shurly_boot ./shurly.module Implementation of hook_boot()
shurly_confirm_delete_form ./shurly.module Confirmation form to delete a link 1
shurly_confirm_delete_form_submit ./shurly.module Submit handler for above form
shurly_create_form ./shurly.module The main form to create new short URLs. 2
shurly_create_form_submit ./shurly.module
shurly_create_form_validate ./shurly.module
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_delete_access ./shurly.module Access callback for deleting (deactivating) a URL 1
shurly_errors_to_form ./shurly.module Set errors on form items (for use with form API) 1
shurly_expand ./shurly.module Function to get the long url. 1
shurly_filter ./shurly.module Implementation of hook_filter().
shurly_filter_tips ./shurly.module Implements hook_filter_tips().
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 2
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 2
shurly_get_errors ./shurly.module Get an array of errors (for delivering errors through web services) 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 3
shurly_goto ./shurly.module A heavily modified version of drupal_goto() (which hasn't been bootstrapped during hook_boot() 1
shurly_help ./shurly.module Implementation of 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 Implement hook_install().
shurly_menu ./shurly.module Implementation of hook_menu()
shurly_next_url ./shurly.module Return next available short URL 2
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_perm ./shurly.module Implementation of hook_perm()
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 @arg $custom is a TRUE/FALSE 2
shurly_schema ./shurly.install Implement hook_schema().
shurly_service_block shurly_service/shurly_service.module Implements hook_block().
shurly_service_expand shurly_service/shurly_service.inc Callback for shurly/api/shorten 1
shurly_service_get_key shurly_service/shurly_service.inc 1
shurly_service_install shurly_service/shurly_service.install Implement hook_install().
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 3
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_perm shurly_service/shurly_service.module Implementation of hook_perm().

Pages

Other projects