You are here

function _surl in ShURLy 6

Same name and namespace in other branches
  1. 8 shurly.module \_surl()
  2. 7 shurly.module \_surl()

Internal function to call url() without language prefixing or subdomain rewrites

5 calls to _surl()
shurly_block in ./shurly.module
shurly_create_form_submit in ./shurly.module
shurly_expand in ./shurly.module
Function to get the long url.
shurly_handler_field_short_url::render in views/shurly_handler_field_short_url.inc
shurly_shorten in ./shurly.module
API function to shorten a URL @arg $long_url - the long URL to shorten @arg $custom - optional custom short URL, user_access('enter custom URLs') should be checked prior to calling shurly_shorten()

File

./shurly.module, line 932
description http://www.youtube.com/watch?v=Qo7qoonzTCE

Code

function _surl($path = NULL, $options = array()) {
  $options['language'] = _shurly_language_stub();
  return url($path, $options);
}