|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
This class represents a multi selection list property in a property form. More...
Inheritance diagram for ilMultiSelectInputGUI:
Collaboration diagram for ilMultiSelectInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| setWidth ($a_width) | |
| Sets the width of this field. More... | |
| getWidth () | |
| Returns the width currently set for this field. More... | |
| setHeight ($a_height) | |
| Sets the height of this field. More... | |
| getHeight () | |
| Returns the height currently set for this field. More... | |
| setOptions ($a_options) | |
| Set Options. More... | |
| getOptions () | |
| Get Options. More... | |
| setValue ($a_array) | |
| Set Value. More... | |
| getValue () | |
| Get Value. More... | |
| setValueByArray ($a_values) | |
| Set value by array. More... | |
| enableSelectAll ($a_value) | |
| enableSelectedFirst ($a_value) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| render () | |
| Render item. More... | |
| insert (&$a_tpl) | |
| Insert property html. More... | |
| getTableFilterHTML () | |
| Get HTML for table filter. More... | |
| getCustomAttributes () | |
| setCustomAttributes ($custom_attributes) | |
| addCustomAttribute ($custom_attribute) | |
| getWidthUnit () | |
| setWidthUnit ($widthUnit) | |
| getHeightUnit () | |
| setHeightUnit ($heightUnit) | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| & | executeCommand () |
| Execute command. More... | |
| getType () | |
| Get Type. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setPostVar ($a_postvar) | |
| Set Post Variable. More... | |
| getPostVar () | |
| Get Post Variable. More... | |
| getFieldId () | |
| Get Post Variable. More... | |
| setInfo ($a_info) | |
| Set Information Text. More... | |
| getInfo () | |
| Get Information Text. More... | |
| setAlert ($a_alert) | |
| Set Alert Text. More... | |
| getAlert () | |
| Get Alert Text. More... | |
| setRequired ($a_required) | |
| Set Required. More... | |
| getRequired () | |
| Get Required. More... | |
| setDisabled ($a_disabled) | |
| Set Disabled. More... | |
| getDisabled () | |
| Get Disabled. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm ($a_parentform) | |
| Set Parent Form. More... | |
| getParentForm () | |
| Get Parent Form. More... | |
| setParent ($a_val) | |
| Set Parent GUI object. More... | |
| getParent () | |
| Get Parent GUI object. More... | |
| getSubForm () | |
| Get sub form html. More... | |
| hideSubForm () | |
| Sub form hidden on init? More... | |
| setHiddenTitle ($a_val) | |
| Set hidden title (for screenreaders) More... | |
| getHiddenTitle () | |
| Get hidden title. More... | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| serialize data More... | |
| unserializeData ($a_data) | |
| unserialize data More... | |
| writeToSession () | |
| Write to session. More... | |
| clearFromSession () | |
| Clear session value. More... | |
| readFromSession () | |
| Read from session. More... | |
| getHiddenTag ($a_post_var, $a_value) | |
| Get hidden tag (used for disabled properties) More... | |
| setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
| Set Multi. More... | |
| getMulti () | |
| Get Multi. More... | |
| setMultiValues (array $a_values) | |
| Set multi values. More... | |
| getMultiValues () | |
| Get multi values. More... | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| removeProhibitedCharacters ($a_text) | |
| Remove prohibited characters see #19159. More... | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
Protected Attributes | |
| $options | |
| $value | |
| $select_all | |
| $selected_first | |
| $widthUnit = 'px' | |
| $heightUnit = 'px' | |
| $custom_attributes = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
| $type | |
| $title | |
| $postvar | |
| $info | |
| $alert | |
| $required = false | |
| $parentgui | |
| $parentform | |
| $hidden_title = "" | |
| $multi = false | |
| $multi_sortable = false | |
| $multi_addremove = true | |
| $multi_values | |
Private Attributes | |
| $width = 160 | |
| $height = 100 | |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. More... | |
| getMultiIconsHTML () | |
| Get HTML for multiple value icons. More... | |
This class represents a multi selection list property in a property form.
Definition at line 34 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 78 of file class.ilMultiSelectInputGUI.php.
References ilFormPropertyGUI\setType(), and setValue().
Here is the call graph for this function:| ilMultiSelectInputGUI::addCustomAttribute | ( | $custom_attribute | ) |
| array | $custom_attribute |
Definition at line 349 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 196 of file class.ilMultiSelectInputGUI.php.
References $_POST, $lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilMultiSelectInputGUI::enableSelectAll | ( | $a_value | ) |
Definition at line 180 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::enableSelectedFirst | ( | $a_value | ) |
Definition at line 185 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::getCustomAttributes | ( | ) |
Definition at line 333 of file class.ilMultiSelectInputGUI.php.
References $custom_attributes.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getHeight | ( | ) |
Returns the height currently set for this field.
@access public
Definition at line 124 of file class.ilMultiSelectInputGUI.php.
References $height.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getHeightUnit | ( | ) |
Definition at line 370 of file class.ilMultiSelectInputGUI.php.
References $heightUnit.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getOptions | ( | ) |
Get Options.
Definition at line 144 of file class.ilMultiSelectInputGUI.php.
References $options.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Implements ilTableFilterItem.
Definition at line 323 of file class.ilMultiSelectInputGUI.php.
References render().
Here is the call graph for this function:| ilMultiSelectInputGUI::getValue | ( | ) |
Get Value.
Definition at line 164 of file class.ilMultiSelectInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getWidth | ( | ) |
Returns the width currently set for this field.
@access public
Definition at line 102 of file class.ilMultiSelectInputGUI.php.
References $width.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getWidthUnit | ( | ) |
Definition at line 356 of file class.ilMultiSelectInputGUI.php.
References $widthUnit.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 313 of file class.ilMultiSelectInputGUI.php.
References render().
Here is the call graph for this function:| ilMultiSelectInputGUI::render | ( | ) |
Render item.
Definition at line 224 of file class.ilMultiSelectInputGUI.php.
References $lng, $options, $tpl, getCustomAttributes(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getHeight(), getHeightUnit(), getOptions(), ilFormPropertyGUI\getPostVar(), getValue(), getWidth(), getWidthUnit(), and ilUtil\prepareFormOutput().
Referenced by getTableFilterHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultiSelectInputGUI::setCustomAttributes | ( | $custom_attributes | ) |
| array | $custom_attributes |
Definition at line 341 of file class.ilMultiSelectInputGUI.php.
References $custom_attributes.
| ilMultiSelectInputGUI::setHeight | ( | $a_height | ) |
Sets the height of this field.
@access public
| integer | $a_height |
Definition at line 113 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::setHeightUnit | ( | $heightUnit | ) |
| string | $heightUnit |
Definition at line 377 of file class.ilMultiSelectInputGUI.php.
References $heightUnit.
| ilMultiSelectInputGUI::setOptions | ( | $a_options | ) |
Set Options.
| array | $a_options | Options. Array ("value" => "option_text") |
Definition at line 134 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::setValue | ( | $a_array | ) |
Set Value.
| array | array with all activated selections |
Definition at line 154 of file class.ilMultiSelectInputGUI.php.
Referenced by __construct(), and setValueByArray().
Here is the caller graph for this function:| ilMultiSelectInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 174 of file class.ilMultiSelectInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilMultiSelectInputGUI::setWidth | ( | $a_width | ) |
Sets the width of this field.
@access public
| integer | $a_width |
Definition at line 91 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::setWidthUnit | ( | $widthUnit | ) |
| string | $widthUnit |
Definition at line 363 of file class.ilMultiSelectInputGUI.php.
References $widthUnit.
|
protected |
Definition at line 70 of file class.ilMultiSelectInputGUI.php.
Referenced by getCustomAttributes(), and setCustomAttributes().
|
private |
Definition at line 55 of file class.ilMultiSelectInputGUI.php.
Referenced by getHeight().
|
protected |
Definition at line 65 of file class.ilMultiSelectInputGUI.php.
Referenced by getHeightUnit(), and setHeightUnit().
|
protected |
Definition at line 36 of file class.ilMultiSelectInputGUI.php.
Referenced by getOptions(), and render().
|
protected |
Definition at line 38 of file class.ilMultiSelectInputGUI.php.
|
protected |
Definition at line 39 of file class.ilMultiSelectInputGUI.php.
|
protected |
Definition at line 37 of file class.ilMultiSelectInputGUI.php.
|
private |
Definition at line 47 of file class.ilMultiSelectInputGUI.php.
Referenced by getWidth().
|
protected |
Definition at line 60 of file class.ilMultiSelectInputGUI.php.
Referenced by getWidthUnit(), and setWidthUnit().