Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe DraggableList

Fonctions membres publiques statiques

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

Attributs protégés statiques

static $loaded = array()
 

Description détaillée

HTML utility class for creating a sortable table list

Depuis
4.0.0

Documentation des fonctions membres

◆ draggable()

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

Method to load the Dragula script and make table sortable

Paramètres
string$tableIdDOM id of the table
string$formIdDOM id of the form
string$sortDirSort direction
string$saveOrderingUrlSave ordering url, ajax-load after an item dropped
string$redundantNot used
boolean$nestedListSet whether the list is a nested list
Renvoie
void
Depuis
4.0.0

Références $doc, $formId, $saveOrderingUrl, Factory\getDocument(), et Session\getFormToken().

Documentation des champs

◆ $loaded

$loaded = array()
staticprotected

La documentation de cette classe a été générée à partir du fichier suivant :