\JHelperRoute
Route Helper
A class providing basic routing for urls that are for content types found in
the #__content_types table and rows found in the #__ucm_content table.
Synopsis
class JHelperRoute
{
- // members
- protected $lookup;
- protected $lang_lookup;
- protected $extension;
- protected $id;
- protected $view;
- // methods
- public string getRoute()
- protected mixed findItem()
- public static string getCategoryRoute()
- protected static void buildLanguageLookup()
- protected static mixed lookupItem()
Hierarchy
Extended by
Members
protected
- $extension — string
- $id — string
- $lang_lookup — array
- $lookup — array
- $view — string
Methods
protected
- buildLanguageLookup() — Builds the language lookup array
- findItem() — Method to find the item in the menu structure
- lookupItem() — Static alias to findItem() used to find the item in the menu structure
public
- getCategoryRoute() — Fetches the category route
- getRoute() — A method to get the route for a specific item