Functions


Functions Summary
string

cot_url_catpath(array params, array spec, string arg)

Category path URL substitution handler

string

cot_url_custom(string name, mixed params, string tail, bool htmlspecialchars_bypass)

Transforms parameters into URL by following user-defined rules.

array

cot_url_presets()

Returns the list of current presets

string

cot_url_username(array params, array spec)

User name URL subsitution handler

Function Detail

plugins\urleditor\inc\urleditor.functions.php at line 328

cot_url_catpath

public string cot_url_catpath(array params, array spec, string arg)
Category path URL substitution handler
Parameters:
params - Link parameters
spec - Special parameters
arg - Callback argument
Returns:

plugins\urleditor\inc\urleditor.functions.php at line 174

cot_url_custom

public string cot_url_custom(string name, mixed params, string tail, bool htmlspecialchars_bypass)
Transforms parameters into URL by following user-defined rules. This function can be overloaded by cot_url_custom().
Parameters:
name - Module or script name
params - URL parameters as array or parameter string
tail - URL postfix, e.g. anchor
htmlspecialchars_bypass - If TRUE, will not convert & to & and so on.
Returns:
Valid HTTP URL
See Also:
cot_url()

plugins\urleditor\inc\urleditor.functions.php at line 350

cot_url_presets

public array cot_url_presets()
Returns the list of current presets
Returns:

plugins\urleditor\inc\urleditor.functions.php at line 381

cot_url_username

public string cot_url_username(array params, array spec)
User name URL subsitution handler
Parameters:
params - Link parameters
spec - Special parameters
Returns: