shurly_action_info |
./shurly.module |
Implements hook_action_info(). |
|
|
shurly_analytics_boot |
shurly_analytics/shurly_analytics.module |
|
|
|
shurly_analytics_menu |
shurly_analytics/shurly_analytics.module |
Implements hook_menu(). |
|
|
shurly_analytics_permission |
shurly_analytics/shurly_analytics.module |
Implements hook_permission(). |
|
|
shurly_analytics_settings_form |
shurly_analytics/shurly_analytics.module |
Implements hook_settings_form(). |
|
1 |
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_block_content_bookmarklet |
./shurly.module |
Generate Shurly bookmarklet for respective block |
1 |
|
shurly_block_content_form |
./shurly.module |
Generate Shurly creation form for respective block |
1 |
|
shurly_block_info |
./shurly.module |
Implements hook_block_info(). |
|
|
shurly_block_view |
./shurly.module |
Implements hook_block_view(). |
|
|
shurly_boot |
./shurly.module |
Implements 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 |
Submission of the main form |
|
|
shurly_create_form_validate |
./shurly.module |
Validation of the main form |
|
|
shurly_cron |
./shurly.module |
Implements hook_cron(). |
|
|
shurly_css_js |
./shurly.module |
Load CSS and JS files needed by the module
@params both, css, js |
3 |
|
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_disable_url |
./shurly.module |
|
|
|
shurly_edit_access |
./shurly.module |
Access callback for editing a URL |
|
1 |
shurly_edit_form |
./shurly.module |
Confirmation form to edit a link |
|
1 |
shurly_edit_form_submit |
./shurly.module |
Submit handler for above form |
|
|
shurly_entity_info |
./shurly.module |
Implements hook_entity_info(). |
|
|
shurly_expand |
./shurly.module |
Function to get the long url. |
1 |
|
shurly_filter_info |
./shurly.module |
Implements hook_filter_info(). |
|
|
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 |
|
4 |
|
shurly_goto |
./shurly.module |
A heavily modified version of drupal_goto() (which hasn't been bootstrapped during hook_boot() |
1 |
|
shurly_gsb |
./shurly.module |
|
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_init |
./shurly.module |
Implements hook_init(). |
|
|
shurly_menu |
./shurly.module |
Implements hook_menu(). |
|
|
shurly_migration_migrate_api |
shurly_migration/shurly_migration.module |
|
|
|
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_permission |
./shurly.module |
Implements hook_permission(). |
|
|
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 |
|