JHelperRoute::getRoute
A method to get the route for a specific item
Signature
public function getRoute(integer
$id,
[string
$typealias = '',
[string
$link = '',
[string
$language = null,
[integer
$catid = null]]]] )
Parameters
-
$id
- Value of the primary key for the item in its content table
-
$typealias
- The type_alias for the item being routed. Of the form extension.view.
-
$link
- The link to be routed
-
$language
- The language of the content for multilingual sites
-
$catid
- Optional category id
Returns
- string
- The route of the item