[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/HTML/Helpers/ -> SearchTools.php (summary)

Joomla! Content Management System

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

Defines 3 functions

  form()
  optionsToRegistry()
  sort()

Functions
Functions that are not part of a class:

form($selector = '.js-stools-form', $options = array()   X-Ref
Load searchtools for a specific form

param: mixed  $selector  Is debugging mode on? [optional]
param: array  $options   Optional array of parameters for search tools
return: void

optionsToRegistry($options)   X-Ref
Function to receive & pre-process javascript options

param: mixed  $options  Associative array/Registry object with options
return: Registry         Options converted to Registry object

sort($title,$order,$direction = 'asc',$selected = 0,$task = null,$newDirection = 'asc',$tip = '',$icon = null,$formName = 'adminForm')   X-Ref
Method to sort a column in a grid

param: string  $title         The link title
param: string  $order         The order field for the column
param: string  $direction     The current direction
param: mixed   $selected      The selected ordering
param: string  $task          An optional task override
param: string  $newDirection  An optional direction for the new column
param: string  $tip           An optional text shown as tooltip title instead of $title
param: string  $icon          Icon to show
param: string  $formName      Name of the form to submit
return: string



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