JuiSortable Class Reference

Public Member Functions

 run ()

Data Fields

 $baseInputNameForSortableCollection
 $showEmptyList = true

Detailed Description

Extended class to overcome issue when you have a list without any items to start with. This causes invalid XHTML because you have a UL without any LIs. This solves this problem by loading a filler li.

Definition at line 45 of file JuiSortable.php.


Member Function Documentation

run (  ) 

Run this widget. This method registers necessary javascript and renders the needed HTML code.

Definition at line 66 of file JuiSortable.php.


Field Documentation

$baseInputNameForSortableCollection

Set this property if you would like a hidden input field to be generated with $baseInputNameForSortableCollection as the input name. This is useful if you want to have an empty array passed via POST when a sortable has no rows, but is submitted. Otherwise without this set, nothing will be passed via POST. This is needed if you want to validate using CActiveForm that the sortable is required or some other type of validation.

Definition at line 54 of file JuiSortable.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Oct 19 07:10:26 2017