You are here

function _extlink_extra_encode_url_part in External Links Extra 8

Encodes a singles part of an URL.

Parameters

string $part: The part of the URL that needs to be encoded.

int|string $key: The key of the part in a parts array.

1 string reference to '_extlink_extra_encode_url_part'
_extlink_extra_encode_url_parts in ./extlink_extra.module
Encodes all parts of an URL.

File

./extlink_extra.module, line 194

Code

function _extlink_extra_encode_url_part(&$part, $key) {
  $part = urlencode($part);
}