[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

RouteHelper:: (3 methods):
  getSearchRoute()
  getAdvancedRoute()
  getItemid()


Class: RouteHelper  - X-Ref

Finder route helper class.

getSearchRoute($f = null, $q = null)   X-Ref
Method to get the route for a search page.

param: integer  $f  The search filter id. [optional]
param: string   $q  The search query string. [optional]
return: string  The search route.

getAdvancedRoute($f = null, $q = null)   X-Ref
Method to get the route for an advanced search page.

param: integer  $f  The search filter id. [optional]
param: string   $q  The search query string. [optional]
return: string  The advanced search route.

getItemid($query)   X-Ref
Method to get the most appropriate menu item for the route based on the
supplied query needles.

param: array  $query  An array of URL parameters.
return: mixed  An integer on success, null otherwise.



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