ILIAS
release_4-3 Revision
|
Input GUI class for taxonomy assignments. More...
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_item_type, $a_item_id) | |
Save input. | |
setCurrentValues ($a_component_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. | |
setMulti ($a_multi) | |
Set Multi. | |
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. | |
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) | |
getMulti () | |
Get Multi. | |
setMultiValues (array $a_values) | |
Set multi values. | |
getMultiValues () | |
Get multi values. |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. | |
getMultiIconsHTML ($a_sortable=false) | |
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, ilSelectInputGUI\setMulti(), setTaxonomyId(), and ilFormPropertyGUI\setType().
ilTaxAssignInputGUI::getOptions | ( | ) |
Get Options.
Reimplemented from ilSelectInputGUI.
Definition at line 89 of file class.ilTaxAssignInputGUI.php.
References $lng, $n, ilSelectInputGUI\$options, and getTaxonomyId().
ilTaxAssignInputGUI::getTaxonomyId | ( | ) |
Get taxonomy id.
Definition at line 69 of file class.ilTaxAssignInputGUI.php.
Referenced by getOptions(), saveInput(), and setCurrentValues().
ilTaxAssignInputGUI::saveInput | ( | $a_component_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().
Referenced by ilGlossaryTermGUI\updateTerm().
ilTaxAssignInputGUI::setCurrentValues | ( | $a_component_id, | |
$a_item_type, | |||
$a_item_id | |||
) |
Set current values.
@return |
Definition at line 146 of file class.ilTaxAssignInputGUI.php.
References ilFormPropertyGUI\getMulti(), getTaxonomyId(), and ilSelectInputGUI\setValue().
Referenced by ilGlossaryTermGUI\editTerm().
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().