ILIAS
Release_4_4_x_branch Revision 61816
|
This class represents a number property in a property form. More...
Public Member Functions | |
addCombinationItem ($id, $item, $label="") | |
Add property item. | |
getCombinationItem ($id) | |
Get property item. | |
removeCombinationItem ($id) | |
Remove property item. | |
__call ($method, $param) | |
Call item methods. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
setComparisonMode ($mode) | |
Set mode for comparison (extended validation) | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
setValueByArray ($a_values) | |
Set value by array. | |
checkInput () | |
Check input, strip slashes etc. | |
insert (&$a_tpl) | |
Insert property html. | |
render () | |
Render item. | |
getTableFilterHTML () | |
Get HTML for table filter. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) | |
setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
Set Multi. | |
getMulti () | |
Get Multi. | |
setMultiValues (array $a_values) | |
Set multi values. | |
getMultiValues () | |
Get multi values. | |
getContentOutsideFormTag () | |
Get content that has to reside outside of the parent form tag, e.g. |
Data Fields | |
const | COMPARISON_ASCENDING = 1 |
const | COMPARISON_DESCENDING = 2 |
Protected Attributes | |
$items = array() | |
$labels | |
$comparison | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = 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 |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. | |
getMultiIconsHTML () | |
Get HTML for multiple value icons. |
This class represents a number property in a property form.
Definition at line 31 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::__call | ( | $method, | |
$param | |||
) |
Call item methods.
string | $method | |
array | $param |
Definition at line 89 of file class.ilCombinationInputGUI.php.
References $result.
ilCombinationInputGUI::addCombinationItem | ( | $id, | |
$item, | |||
$label = "" |
|||
) |
Add property item.
string | $id | |
object | $item | |
string | $label |
Definition at line 47 of file class.ilCombinationInputGUI.php.
Referenced by ilAdvancedMDRecordGUI\parseFilter().
ilCombinationInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 255 of file class.ilCombinationInputGUI.php.
References ilSubEnabledFormPropertyGUI\checkSubItemsInput().
ilCombinationInputGUI::getCombinationItem | ( | $id | ) |
Get property item.
string | $id |
Definition at line 62 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Implements ilTableFilterItem.
Definition at line 348 of file class.ilCombinationInputGUI.php.
References render().
ilCombinationInputGUI::getValue | ( | ) |
Get Value.
Definition at line 219 of file class.ilCombinationInputGUI.php.
References $result.
ilCombinationInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 306 of file class.ilCombinationInputGUI.php.
References render().
ilCombinationInputGUI::removeCombinationItem | ( | $id | ) |
Remove property item.
string | $id |
Definition at line 75 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::render | ( | ) |
Render item.
Definition at line 318 of file class.ilCombinationInputGUI.php.
Referenced by getTableFilterHTML(), and insert().
ilCombinationInputGUI::serializeData | ( | ) |
serialize data
Reimplemented from ilFormPropertyGUI.
Definition at line 105 of file class.ilCombinationInputGUI.php.
References $result.
ilCombinationInputGUI::setComparisonMode | ( | $mode | ) |
Set mode for comparison (extended validation)
int | $mode |
Definition at line 147 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 168 of file class.ilCombinationInputGUI.php.
Referenced by unserializeData().
ilCombinationInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 242 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::unserializeData | ( | $a_data | ) |
unserialize data
Reimplemented from ilFormPropertyGUI.
Definition at line 118 of file class.ilCombinationInputGUI.php.
References setValue().
|
protected |
Definition at line 35 of file class.ilCombinationInputGUI.php.
|
protected |
Definition at line 33 of file class.ilCombinationInputGUI.php.
|
protected |
Definition at line 34 of file class.ilCombinationInputGUI.php.
const ilCombinationInputGUI::COMPARISON_ASCENDING = 1 |
Definition at line 37 of file class.ilCombinationInputGUI.php.
Referenced by ilTable2GUI\addFilterItemByMetaType(), and ilAdvancedMDRecordGUI\parseFilter().
const ilCombinationInputGUI::COMPARISON_DESCENDING = 2 |
Definition at line 38 of file class.ilCombinationInputGUI.php.