Back to Joomla project (class list)

Class DraggableList - list of methods

HTML utility class for creating a sortable table list
Package: Joomla\CMS\HTML\Helpers
Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/HTML/Helpers/DraggableList.php
Project: Joomla

Method Summary

public static void
(string $tableId = '', string $formId = '', string $sortDir = 'asc', string $saveOrderingUrl = '', mixed $redundant = null, bool $nestedList = false)

Method to load the Dragula script and make table sortable
Parameters
  • string $tableId DOM id of the table
  • string $formId DOM id of the form
  • string $sortDir Sort direction
  • string $saveOrderingUrl Save ordering url, ajax-load after an item dropped
  • string $redundant Not used
  • bool $nestedList Set whether the list is a nested list
Returns
  • void
Since
  • 4.0.0
Show source code of this method: draggable Source Code

Properties Summary

protected static array
$loaded
Array containing information for loaded files
Since
  • 4.0.0

Tags Summary

Since
4.0.0