buildLink(string $originalPrefix, string $outputPrefix, string $action, string $extension, mixed $data, array $extraParams) : string | false
Unhandled extra params will be turned into a query string after this function is called. If a param is handled by the core URL, it should be unset from the extra params list.
string
Original prefix for the type of link to be generated; this is a known value, but shouldn't be displayed to the user
string
The configured output that means the same thing as the original prefix but is user configured
string
Action to take on the data
string
Specified extension for the link
mixed
Info about data to link to specifically (eg, info about a thread)
array
Extra params that modify how the link is built
string
false
Core link if handled, false otherwise