[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 2 functions

  framework()
  token()

Functions
Functions that are not part of a class:

framework($noConflict = true, $debug = null, $migrate = false)   X-Ref
Method to load the jQuery JavaScript framework into the document head

If debugging mode is on an uncompressed version of jQuery is included for easier debugging.

param: boolean  $noConflict  True to load jQuery in noConflict mode [optional]
param: mixed    $debug       Is debugging mode on? [optional]
param: boolean  $migrate     True to enable the jQuery Migrate plugin
return: void

token($name = 'csrf.token')   X-Ref
Auto set CSRF token to ajaxSetup so all jQuery ajax call will contains CSRF token.

param: string  $name  The CSRF meta tag name.
return: void



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