|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilTaggingGUI. More...
Collaboration diagram for ilTaggingGUI:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| setObject ($a_obj_id, $a_obj_type, $a_sub_obj_id=0, $a_sub_obj_type="") | |
| Set Object. More... | |
| setUserId ($a_userid) | |
| Set User ID. More... | |
| getUserId () | |
| Get User ID. More... | |
| setSaveCmd ($a_savecmd) | |
| Set Save Command. More... | |
| getSaveCmd () | |
| Get Save Command. More... | |
| setInputFieldName ($a_inputfieldname) | |
| Set Input Field Name. More... | |
| getInputFieldName () | |
| Get Input Field Name. More... | |
| getTaggingInputHTML () | |
| Get Input HTML for Tagging of an object (and a user) More... | |
| saveInput () | |
| Save Input. More... | |
| isForbidden ($a_tag) | |
| Check whether a tag is forbiddens. More... | |
| getAllUserTagsForObjectHTML () | |
| Get Input HTML for Tagging of an object (and a user) More... | |
| getHTML () | |
| Get HTML. More... | |
| saveJS () | |
| Save JS. More... | |
Static Public Member Functions | |
| static | initJavascript ($a_ajax_url, ilGlobalTemplateInterface $a_main_tpl=null) |
| Init javascript. More... | |
| static | getListTagsJSCall ($a_hash, $a_update_code=null) |
| Get tagging js call. More... | |
Protected Attributes | |
| $ctrl | |
| $user | |
| $lng | |
| $ui | |
Class ilTaggingGUI.
User interface class for tagging engine.
Definition at line 15 of file class.ilTaggingGUI.php.
| ilTaggingGUI::__construct | ( | ) |
| ilTaggingGUI::executeCommand | ( | ) |
Execute command.
return
Definition at line 57 of file class.ilTaggingGUI.php.
| ilTaggingGUI::getAllUserTagsForObjectHTML | ( | ) |
Get Input HTML for Tagging of an object (and a user)
Definition at line 242 of file class.ilTaggingGUI.php.
References $ctrl, $ilCtrl, $lng, ilTagging\getRelevanceClass(), ilTagging\getTagsForObject(), and isForbidden().
Here is the call graph for this function:| ilTaggingGUI::getHTML | ( | ) |
Get HTML.
return
Definition at line 335 of file class.ilTaggingGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tpl, $ui, ilTagging\_getListTagsForObjects(), ilObject\_lookupTitle(), exit, ilUtil\getSystemMessageHTML(), ilTagging\getTagsForUserAndObject(), getUserId(), and ilUtil\prepareFormOutput().
Referenced by saveJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaggingGUI::getInputFieldName | ( | ) |
Get Input Field Name.
Definition at line 156 of file class.ilTaggingGUI.php.
Referenced by getTaggingInputHTML(), and saveInput().
Here is the caller graph for this function:
|
static |
Get tagging js call.
| string | $a_hash | |
| string | $a_update_code |
Definition at line 314 of file class.ilTaggingGUI.php.
Referenced by ilObjectListGUI\determineProperties(), ilObjectListGUI\getHeaderAction(), and ilObjectListGUI\insertCommonSocialCommands().
Here is the caller graph for this function:| ilTaggingGUI::getSaveCmd | ( | ) |
Get Save Command.
Definition at line 136 of file class.ilTaggingGUI.php.
| ilTaggingGUI::getTaggingInputHTML | ( | ) |
Get Input HTML for Tagging of an object (and a user)
Definition at line 164 of file class.ilTaggingGUI.php.
References $ctrl, $ilCtrl, $lng, getInputFieldName(), ilTagging\getTagsForUserAndObject(), getUserId(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilTaggingGUI::getUserId | ( | ) |
Get User ID.
Definition at line 116 of file class.ilTaggingGUI.php.
Referenced by getHTML(), getTaggingInputHTML(), saveInput(), and saveJS().
Here is the caller graph for this function:
|
static |
Init javascript.
Definition at line 283 of file class.ilTaggingGUI.php.
References $DIC, $lng, $tpl, iljQueryUtil\initjQuery(), and ilYuiUtil\initPanel().
Referenced by ilObjectListGUI\prepareJsLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaggingGUI::isForbidden | ( | $a_tag | ) |
Check whether a tag is forbiddens.
Definition at line 226 of file class.ilTaggingGUI.php.
References Vendor\Package\$f.
Referenced by getAllUserTagsForObjectHTML(), saveInput(), and saveJS().
Here is the caller graph for this function:| ilTaggingGUI::saveInput | ( | ) |
Save Input.
Definition at line 193 of file class.ilTaggingGUI.php.
References $_POST, $lng, getInputFieldName(), getUserId(), isForbidden(), ilUtil\stripSlashes(), and ilTagging\writeTagsForUserAndObject().
Here is the call graph for this function:| ilTaggingGUI::saveJS | ( | ) |
Save JS.
Definition at line 411 of file class.ilTaggingGUI.php.
References $_POST, getHTML(), getUserId(), isForbidden(), ilUtil\stripSlashes(), and ilTagging\writeTagsForUserAndObject().
Here is the call graph for this function:| ilTaggingGUI::setInputFieldName | ( | $a_inputfieldname | ) |
Set Input Field Name.
| string | $a_inputfieldname | Input Field Name |
Definition at line 146 of file class.ilTaggingGUI.php.
Referenced by setObject().
Here is the caller graph for this function:| 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 79 of file class.ilTaggingGUI.php.
References $ilUser, $user, setInputFieldName(), setSaveCmd(), and setUserId().
Here is the call graph for this function:| ilTaggingGUI::setSaveCmd | ( | $a_savecmd | ) |
Set Save Command.
| string | $a_savecmd | Save Command |
Definition at line 126 of file class.ilTaggingGUI.php.
Referenced by setObject().
Here is the caller graph for this function:| ilTaggingGUI::setUserId | ( | $a_userid | ) |
Set User ID.
| int | $a_userid | User ID |
Definition at line 106 of file class.ilTaggingGUI.php.
Referenced by setObject().
Here is the caller graph for this function:
|
protected |
Definition at line 20 of file class.ilTaggingGUI.php.
Referenced by executeCommand(), getAllUserTagsForObjectHTML(), getHTML(), and getTaggingInputHTML().
|
protected |
Definition at line 30 of file class.ilTaggingGUI.php.
Referenced by getAllUserTagsForObjectHTML(), getHTML(), getTaggingInputHTML(), initJavascript(), and saveInput().
|
protected |
Definition at line 35 of file class.ilTaggingGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 25 of file class.ilTaggingGUI.php.
Referenced by setObject().