ILIAS
eassessment Revision 61809
|
Class ilTaggingGUI. More...
Public Member Functions | |
setObject ($a_obj_id, $a_obj_type, $a_sub_obj_id=0, $a_sub_obj_type="") | |
Set Object. | |
setUserId ($a_userid) | |
Set User ID. | |
getUserId () | |
Get User ID. | |
setSaveCmd ($a_savecmd) | |
Set Save Command. | |
getSaveCmd () | |
Get Save Command. | |
setInputFieldName ($a_inputfieldname) | |
Set Input Field Name. | |
getInputFieldName () | |
Get Input Field Name. | |
getTaggingInputHTML () | |
Get Input HTML for Tagging of an object (and a user) | |
saveInput () | |
Save Input. | |
isForbidden ($a_tag) | |
Check whether a tag is forbiddens. | |
getAllUserTagsForObjectHTML () | |
Get Input HTML for Tagging of an object (and a user) |
Class ilTaggingGUI.
User interface class for tagging engine.
Definition at line 34 of file class.ilTaggingGUI.php.
ilTaggingGUI::getAllUserTagsForObjectHTML | ( | ) |
Get Input HTML for Tagging of an object (and a user)
Definition at line 197 of file class.ilTaggingGUI.php.
References $ilCtrl, $lng, ilTagging\calculateFontSize(), ilTagging\getTagsForObject(), and isForbidden().
ilTaggingGUI::getInputFieldName | ( | ) |
Get Input Field Name.
Definition at line 125 of file class.ilTaggingGUI.php.
Referenced by getTaggingInputHTML(), and saveInput().
ilTaggingGUI::getSaveCmd | ( | ) |
Get Save Command.
Definition at line 105 of file class.ilTaggingGUI.php.
ilTaggingGUI::getTaggingInputHTML | ( | ) |
Get Input HTML for Tagging of an object (and a user)
Definition at line 133 of file class.ilTaggingGUI.php.
References $ilCtrl, $lng, getInputFieldName(), ilTagging\getTagsForUserAndObject(), getUserId(), and ilUtil\prepareFormOutput().
ilTaggingGUI::getUserId | ( | ) |
Get User ID.
Definition at line 85 of file class.ilTaggingGUI.php.
Referenced by getTaggingInputHTML(), and saveInput().
ilTaggingGUI::isForbidden | ( | $a_tag | ) |
Check whether a tag is forbiddens.
Definition at line 180 of file class.ilTaggingGUI.php.
References $f.
Referenced by getAllUserTagsForObjectHTML(), and saveInput().
ilTaggingGUI::saveInput | ( | ) |
Save Input.
Definition at line 152 of file class.ilTaggingGUI.php.
References $_POST, $lng, getInputFieldName(), getUserId(), isForbidden(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilTagging\writeTagsForUserAndObject().
ilTaggingGUI::setInputFieldName | ( | $a_inputfieldname | ) |
Set Input Field Name.
string | $a_inputfieldname | Input Field Name |
Definition at line 115 of file class.ilTaggingGUI.php.
Referenced by setObject().
ilTaggingGUI::setObject | ( | $a_obj_id, | |
$a_obj_type, | |||
$a_sub_obj_id = 0 , |
|||
$a_sub_obj_type = "" |
|||
) |
Set Object.
int | $a_obj_id | Object ID |
string | $a_obj_type | Object Type |
int | $a_sub_obj_id | Subobject ID |
string | $a_sub_obj_type | Subobject Type |
Definition at line 44 of file class.ilTaggingGUI.php.
References setInputFieldName(), setSaveCmd(), and setUserId().
ilTaggingGUI::setSaveCmd | ( | $a_savecmd | ) |
Set Save Command.
string | $a_savecmd | Save Command |
Definition at line 95 of file class.ilTaggingGUI.php.
Referenced by setObject().
ilTaggingGUI::setUserId | ( | $a_userid | ) |
Set User ID.
int | $a_userid | User ID |
Definition at line 75 of file class.ilTaggingGUI.php.
Referenced by setObject().