ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_title="", $a_postvar="", $graphical_output=false) | |
Constructor. | |
setInstanceId ($instanceId) | |
getInstanceId () | |
setOrderingType ($a_ordering_type) | |
getOrderingType () | |
setImagePath ($a_image_path) | |
getImagePath () | |
setImagePathWeb ($a_image_path_web) | |
getImagePathWeb () | |
setThumbPrefix ($a_thumb_prefix) | |
getThumbPrefix () | |
setGraphicalOutput ($graphical_output) | |
getGraphicalOutput () | |
setObjAnswersArray ($a_answers_array, $shuffle=false) | |
renderBeginSortableContainer () | |
renderEndSortableContainer () | |
renderListItem ($cur_answer, $i) | |
renderEndListItem () | |
renderBeginSubList () | |
renderEndSubList () | |
renderAnswerOutput ($text_value, $i) | |
checkInput () | |
Check input, strip slashes etc. | |
getHtml ($shuffle_depth=0) | |
getSolutionHTML ($a_solution_array) | |
setPerformJavascript ($a_bool) | |
getPerformJavascript () | |
Public Member Functions inherited from ilNonEditableValueGUI | |
setType ($a_type) | |
Set Type. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
render () | |
render | |
insert (&$a_tpl) | |
Insert property html. | |
setValueByArray ($a_values) | |
Set value by array. | |
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. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
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. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
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 | |
$answers = array() | |
$ordering_type = NULL | |
$image_path = null | |
$image_path_web = null | |
$thumb_prefix = 'thumb.' |
Protected Attributes | |
$instanceId = 'default' | |
Protected Attributes inherited from ilNonEditableValueGUI | |
$type | |
$value | |
$title | |
$info | |
$section_icon | |
$disable_escaping | |
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 |
Private Attributes | |
$perform_js = 1 | |
$graphical_output = FALSE |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
getMultiIconsHTML () | |
Get HTML for multiple value icons. |
ilNestedOrderingGUI::__construct | ( | $a_title = "" , |
|
$a_id = "" , |
|||
$a_disable_escaping = false |
|||
) |
Constructor.
Reimplemented from ilNonEditableValueGUI.
Definition at line 27 of file class.ilNestedOrderingGUI.php.
References $graphical_output.
ilNestedOrderingGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilNonEditableValueGUI.
Definition at line 247 of file class.ilNestedOrderingGUI.php.
ilNestedOrderingGUI::getGraphicalOutput | ( | ) |
Definition at line 100 of file class.ilNestedOrderingGUI.php.
References $graphical_output.
Referenced by renderListItem().
ilNestedOrderingGUI::getHtml | ( | $shuffle_depth = 0 | ) |
Definition at line 252 of file class.ilNestedOrderingGUI.php.
References $answers, $tpl, ilFormPropertyGUI\getDisabled(), getInstanceId(), getPerformJavascript(), iljQueryUtil\initjQuery(), iljQueryUtil\initjQueryUI(), renderBeginSortableContainer(), renderBeginSubList(), renderEndListItem(), renderEndSortableContainer(), renderEndSubList(), and renderListItem().
ilNestedOrderingGUI::getImagePath | ( | ) |
Definition at line 71 of file class.ilNestedOrderingGUI.php.
References $image_path.
Referenced by renderListItem().
ilNestedOrderingGUI::getImagePathWeb | ( | ) |
Definition at line 79 of file class.ilNestedOrderingGUI.php.
References $image_path_web.
Referenced by renderAnswerOutput().
ilNestedOrderingGUI::getInstanceId | ( | ) |
Definition at line 38 of file class.ilNestedOrderingGUI.php.
References $instanceId.
Referenced by getHtml(), and renderBeginSortableContainer().
ilNestedOrderingGUI::getOrderingType | ( | ) |
Definition at line 62 of file class.ilNestedOrderingGUI.php.
References $ordering_type.
Referenced by renderAnswerOutput().
ilNestedOrderingGUI::getPerformJavascript | ( | ) |
Definition at line 634 of file class.ilNestedOrderingGUI.php.
References $perform_js.
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::getSolutionHTML | ( | $a_solution_array | ) |
Definition at line 452 of file class.ilNestedOrderingGUI.php.
References $tpl, getPerformJavascript(), iljQueryUtil\initjQuery(), iljQueryUtil\initjQueryUI(), renderBeginSortableContainer(), renderBeginSubList(), renderEndListItem(), renderEndSortableContainer(), renderEndSubList(), and renderListItem().
ilNestedOrderingGUI::getThumbPrefix | ( | ) |
Definition at line 87 of file class.ilNestedOrderingGUI.php.
Referenced by renderAnswerOutput().
ilNestedOrderingGUI::renderAnswerOutput | ( | $text_value, | |
$i | |||
) |
string | $text_value | |
integer | $i |
Definition at line 209 of file class.ilNestedOrderingGUI.php.
References $lng, ilFormPropertyGUI\getFieldId(), getImagePathWeb(), getOrderingType(), ilFormPropertyGUI\getPostVar(), getThumbPrefix(), OQ_NESTED_PICTURES, OQ_NESTED_TERMS, and ilUtil\prepareFormOutput().
Referenced by renderListItem().
ilNestedOrderingGUI::renderBeginSortableContainer | ( | ) |
Definition at line 130 of file class.ilNestedOrderingGUI.php.
References getInstanceId().
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::renderBeginSubList | ( | ) |
Definition at line 188 of file class.ilNestedOrderingGUI.php.
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::renderEndListItem | ( | ) |
Definition at line 180 of file class.ilNestedOrderingGUI.php.
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::renderEndSortableContainer | ( | ) |
Definition at line 139 of file class.ilNestedOrderingGUI.php.
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::renderEndSubList | ( | ) |
Definition at line 196 of file class.ilNestedOrderingGUI.php.
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::renderListItem | ( | $cur_answer, | |
$i | |||
) |
Definition at line 147 of file class.ilNestedOrderingGUI.php.
References $lng, getGraphicalOutput(), getImagePath(), and renderAnswerOutput().
Referenced by getHtml(), and getSolutionHTML().
ilNestedOrderingGUI::setGraphicalOutput | ( | $graphical_output | ) |
bool | $graphical_output |
Definition at line 95 of file class.ilNestedOrderingGUI.php.
References $graphical_output.
ilNestedOrderingGUI::setImagePath | ( | $a_image_path | ) |
Definition at line 67 of file class.ilNestedOrderingGUI.php.
ilNestedOrderingGUI::setImagePathWeb | ( | $a_image_path_web | ) |
Definition at line 75 of file class.ilNestedOrderingGUI.php.
ilNestedOrderingGUI::setInstanceId | ( | $instanceId | ) |
Definition at line 33 of file class.ilNestedOrderingGUI.php.
References $instanceId.
ilNestedOrderingGUI::setObjAnswersArray | ( | $a_answers_array, | |
$shuffle = false |
|||
) |
Definition at line 111 of file class.ilNestedOrderingGUI.php.
ilNestedOrderingGUI::setOrderingType | ( | $a_ordering_type | ) |
Definition at line 58 of file class.ilNestedOrderingGUI.php.
Referenced by assOrderingQuestionGUI\populateAnswerSpecificFormPart().
ilNestedOrderingGUI::setPerformJavascript | ( | $a_bool | ) |
Definition at line 629 of file class.ilNestedOrderingGUI.php.
ilNestedOrderingGUI::setThumbPrefix | ( | $a_thumb_prefix | ) |
Definition at line 83 of file class.ilNestedOrderingGUI.php.
ilNestedOrderingGUI::$answers = array() |
Definition at line 17 of file class.ilNestedOrderingGUI.php.
Referenced by getHtml().
|
private |
Definition at line 25 of file class.ilNestedOrderingGUI.php.
Referenced by __construct(), getGraphicalOutput(), and setGraphicalOutput().
ilNestedOrderingGUI::$image_path = null |
Definition at line 19 of file class.ilNestedOrderingGUI.php.
Referenced by getImagePath().
ilNestedOrderingGUI::$image_path_web = null |
Definition at line 20 of file class.ilNestedOrderingGUI.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 15 of file class.ilNestedOrderingGUI.php.
Referenced by getInstanceId(), and setInstanceId().
ilNestedOrderingGUI::$ordering_type = NULL |
Definition at line 18 of file class.ilNestedOrderingGUI.php.
Referenced by getOrderingType().
|
private |
Definition at line 23 of file class.ilNestedOrderingGUI.php.
Referenced by getPerformJavascript().
ilNestedOrderingGUI::$thumb_prefix = 'thumb.' |
Definition at line 21 of file class.ilNestedOrderingGUI.php.