[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_contact/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: 88 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  getContactRoute()
  getCategoryRoute()

Functions
Functions that are not part of a class:

getContactRoute($id, $catid, $language = 0)   X-Ref
Get the URL route for a contact from a contact ID, contact category ID and language

param: integer  $id        The id of the contact
param: integer  $catid     The id of the contact's category
param: mixed    $language  The id of the language being used.
return: string  The link to the contact

getCategoryRoute($catid, $language = 0)   X-Ref
Get the URL route for a contact category from a contact category ID and language

param: mixed  $catid     The id of the contact's category either an integer id or an instance of CategoryNode
param: mixed  $language  The id of the language being used.
return: string  The link to the contact



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