[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_tags/src/Helper/ -> RouteHelper.php (summary)

(no description)

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 250 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RouteHelper:: (6 methods):
  getItemRoute()
  getTagRoute()
  getComponentTagRoute()
  getTagsRoute()
  getComponentTagsRoute()
  _findItem()


Class: RouteHelper  - X-Ref

Tags Component Route Helper.

getItemRoute($contentItemId, $contentItemAlias, $contentCatId, $language, $typeAlias, $routerName)   X-Ref
Tries to load the router for the component and calls it. Otherwise uses getTagRoute.

param: integer  $contentItemId     Component item id
param: string   $contentItemAlias  Component item alias
param: integer  $contentCatId      Component item category id
param: string   $language          Component item language
param: string   $typeAlias         Component type alias
param: string   $routerName        Component router
return: string  URL link to pass to the router

getTagRoute($id)   X-Ref
Tries to load the router for the component and calls it. Otherwise calls getRoute.

param: integer  $id        The ID of the tag
return: string  URL link to pass to the router

getComponentTagRoute(string $id, string $language = '*')   X-Ref
Tries to load the router for the component and calls it. Otherwise calls getRoute.

param: string   $id        The ID of the tag in the format TAG_ID:TAG_ALIAS
param: string   $language  The language of the tag
return: string  URL link to pass to the router

getTagsRoute()   X-Ref
Tries to load the router for the tags view.

return: string  URL link to pass to the router

getComponentTagsRoute(string $language = '*')   X-Ref
Tries to load the router for the tags view.

param: string  $language  The language of the tag
return: string  URL link to pass to the router

_findItem($needles = null)   X-Ref
Find Item static function

param: array  $needles  Array used to get the language value
return: null



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer