|
ILIAS
Release_4_4_x_branch Revision 61816
|
Input GUI class for taxonomy assignments. More...
Inheritance diagram for ilTaxAssignInputGUI:
Collaboration diagram for ilTaxAssignInputGUI:Public Member Functions | |
| __construct ($a_taxonomy_id, $a_multi=true, $a_title="", $a_postvar="", $a_include_please_select=true) | |
| Constructor. | |
| setTaxonomyId ($a_val) | |
| Set taxonomy id. | |
| getTaxonomyId () | |
| Get taxonomy id. | |
| setOptions ($a_options) | |
| Set Options. | |
| getOptions () | |
| Get Options. | |
| saveInput ($a_component_id, $a_obj_id, $a_item_type, $a_item_id) | |
| Save input. | |
| setCurrentValues ($a_component_id, $a_obj_id, $a_item_type, $a_item_id) | |
| Set current values. | |
Public Member Functions inherited from ilSelectInputGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. | |
| setValue ($a_value) | |
| Set Value. | |
| getValue () | |
| Get Value. | |
| setValueByArray ($a_values) | |
| Set value by array. | |
| checkInput () | |
| Check input, strip slashes etc. | |
| addCustomAttribute ($a_attr) | |
| getCustomAttributes () | |
| render ($a_mode="") | |
| Render item. | |
| insert (&$a_tpl) | |
| Insert property html. | |
| getTableFilterHTML () | |
| Get HTML for table filter. | |
| getToolbarHTML () | |
| Get HTML for toolbar. | |
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 | |
| & | 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. | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. | |
| getMultiIconsHTML () | |
| Get HTML for multiple value icons. | |
Protected Attributes inherited from ilSelectInputGUI | |
| $cust_attr = array() | |
| $options = array() | |
| $value | |
Input GUI class for taxonomy assignments.
Definition at line 16 of file class.ilTaxAssignInputGUI.php.
| ilTaxAssignInputGUI::__construct | ( | $a_taxonomy_id, | |
$a_multi = true, |
|||
$a_title = "", |
|||
$a_postvar = "", |
|||
$a_include_please_select = true |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Definition at line 24 of file class.ilTaxAssignInputGUI.php.
References $lng, ilFormPropertyGUI\setMulti(), setTaxonomyId(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilTaxAssignInputGUI::getOptions | ( | ) |
Get Options.
Reimplemented from ilSelectInputGUI.
Definition at line 89 of file class.ilTaxAssignInputGUI.php.
References $lng, $n, ilSelectInputGUI\$options, and getTaxonomyId().
Here is the call graph for this function:| ilTaxAssignInputGUI::getTaxonomyId | ( | ) |
Get taxonomy id.
Definition at line 69 of file class.ilTaxAssignInputGUI.php.
Referenced by getOptions(), saveInput(), and setCurrentValues().
Here is the caller graph for this function:| ilTaxAssignInputGUI::saveInput | ( | $a_component_id, | |
| $a_obj_id, | |||
| $a_item_type, | |||
| $a_item_id | |||
| ) |
Save input.
| @return |
Definition at line 119 of file class.ilTaxAssignInputGUI.php.
References $_POST, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), getTaxonomyId(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilTaxAssignInputGUI::setCurrentValues | ( | $a_component_id, | |
| $a_obj_id, | |||
| $a_item_type, | |||
| $a_item_id | |||
| ) |
Set current values.
| @return |
Definition at line 160 of file class.ilTaxAssignInputGUI.php.
References ilFormPropertyGUI\getMulti(), getTaxonomyId(), and ilSelectInputGUI\setValue().
Referenced by assQuestionGUI\populateTaxonomyFormSection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaxAssignInputGUI::setOptions | ( | $a_options | ) |
Set Options.
| array | $a_options | Options. Array ("value" => "option_text") |
Reimplemented from ilSelectInputGUI.
Definition at line 79 of file class.ilTaxAssignInputGUI.php.
| ilTaxAssignInputGUI::setTaxonomyId | ( | $a_val | ) |
Set taxonomy id.
| int | $a_val | taxonomy id |
Definition at line 59 of file class.ilTaxAssignInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function: