|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilTaggingGUI. More...
Collaboration diagram for ilTaggingGUI:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| setObject (int $a_obj_id, string $a_obj_type, int $a_sub_obj_id=0, string $a_sub_obj_type="") | |
| Set Object. More... | |
| setUserId (int $a_userid) | |
| getUserId () | |
| setSaveCmd (string $a_savecmd) | |
| getSaveCmd () | |
| setInputFieldName (string $a_inputfieldname) | |
| getInputFieldName () | |
| getTaggingInputHTML () | |
| saveInput () | |
| isForbidden (string $a_tag) | |
| getAllUserTagsForObjectHTML () | |
| getHTML () | |
| Get HTML. More... | |
| saveJS () | |
| Save JS. More... | |
Static Public Member Functions | |
| static | initJavascript (string $a_ajax_url, ilGlobalTemplateInterface $a_main_tpl=null) |
| static | getModalTemplate () |
| static | getListTagsJSCall (string $a_hash, string $a_update_code=null) |
Protected Member Functions | |
| getTagsFromInput (string $input) | |
Protected Attributes | |
| ilCtrl | $ctrl |
| ilObjUser | $user |
| ilLanguage | $lng |
| ILIAS DI UIServices | $ui |
| int | $obj_id = 0 |
| string | $obj_type = "" |
| int | $sub_obj_id = 0 |
| string | $sub_obj_type |
| array | $forbidden = [] |
| int | $userid = 0 |
| string | $savecmd = "" |
| string | $inputfieldname = "" |
| RequestInterface | $request |
| string | $mess = "" |
| string | $requested_mess = "" |
Private Attributes | |
| ilGlobalTemplateInterface | $main_tpl |
Class ilTaggingGUI.
User interface class for tagging engine.
Definition at line 28 of file class.ilTaggingGUI.php.
| ilTaggingGUI::__construct | ( | ) |
Constructor.
Definition at line 50 of file class.ilTaggingGUI.php.
References $DIC, $params, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilTaggingGUI::executeCommand | ( | ) |
Execute command.
Definition at line 69 of file class.ilTaggingGUI.php.
References $ctrl, and ilCtrl\getNextClass().
Here is the call graph for this function:| ilTaggingGUI::getAllUserTagsForObjectHTML | ( | ) |
Definition at line 225 of file class.ilTaggingGUI.php.
References ilTagging\getRelevanceClass(), ilTagging\getTagsForObject(), and isForbidden().
Here is the call graph for this function:| ilTaggingGUI::getHTML | ( | ) |
Get HTML.
Definition at line 319 of file class.ilTaggingGUI.php.
References $ctrl, $lng, $mess, $obj_id, $ui, ilObject\_getIcon(), ilTagging\_getListTagsForObjects(), ilObject\_lookupTitle(), exit, ilUtil\getSystemMessageHTML(), ilTagging\getTagsForUserAndObject(), getUserId(), ilLanguage\loadLanguageModule(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().
Referenced by saveJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaggingGUI::getInputFieldName | ( | ) |
Definition at line 142 of file class.ilTaggingGUI.php.
References $inputfieldname.
Referenced by getTaggingInputHTML(), and saveInput().
Here is the caller graph for this function:
|
static |
Definition at line 304 of file class.ilTaggingGUI.php.
Referenced by ilObjectListGUI\determineProperties(), ilObjectListGUI\getHeaderAction(), and ilObjectListGUI\insertCommonSocialCommands().
Here is the caller graph for this function:
|
static |
| ilTaggingGUI::getSaveCmd | ( | ) |
| ilTaggingGUI::getTaggingInputHTML | ( | ) |
Definition at line 147 of file class.ilTaggingGUI.php.
References $lng, getInputFieldName(), ilTagging\getTagsForUserAndObject(), getUserId(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 172 of file class.ilTaggingGUI.php.
References ilUtil\stripSlashes().
Referenced by saveInput(), and saveJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaggingGUI::getUserId | ( | ) |
Definition at line 122 of file class.ilTaggingGUI.php.
References $userid.
Referenced by getHTML(), getTaggingInputHTML(), saveInput(), and saveJS().
Here is the caller graph for this function:
|
static |
Definition at line 260 of file class.ilTaggingGUI.php.
References $DIC, ilYuiUtil\initConnection(), iljQueryUtil\initjQuery(), ilLanguage\loadLanguageModule(), and ilLanguage\toJS().
Referenced by ilObjectListGUI\prepareJsLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaggingGUI::isForbidden | ( | string | $a_tag | ) |
Definition at line 211 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 | ( | ) |
Definition at line 182 of file class.ilTaggingGUI.php.
References $lng, $request, getInputFieldName(), getTagsFromInput(), getUserId(), isForbidden(), ilLanguage\txt(), and ilTagging\writeTagsForUserAndObject().
Here is the call graph for this function:| ilTaggingGUI::saveJS | ( | ) |
Save JS.
Definition at line 401 of file class.ilTaggingGUI.php.
References $request, getHTML(), getTagsFromInput(), getUserId(), isForbidden(), and ilTagging\writeTagsForUserAndObject().
Here is the call graph for this function:| ilTaggingGUI::setInputFieldName | ( | string | $a_inputfieldname | ) |
Definition at line 137 of file class.ilTaggingGUI.php.
Referenced by setObject().
Here is the caller graph for this function:| ilTaggingGUI::setObject | ( | int | $a_obj_id, |
| string | $a_obj_type, | ||
| int | $a_sub_obj_id = 0, |
||
| string | $a_sub_obj_type = "" |
||
| ) |
Set Object.
| int | $a_obj_id | Object ID |
| string | $a_obj_type | Object Type |
| int | $a_sub_obj_id | Sub-object ID |
| string | $a_sub_obj_type | Sub-object Type |
Definition at line 91 of file class.ilTaggingGUI.php.
References $user, setInputFieldName(), setSaveCmd(), and setUserId().
Here is the call graph for this function:| ilTaggingGUI::setSaveCmd | ( | string | $a_savecmd | ) |
Definition at line 127 of file class.ilTaggingGUI.php.
Referenced by setObject().
Here is the caller graph for this function:| ilTaggingGUI::setUserId | ( | int | $a_userid | ) |
Definition at line 117 of file class.ilTaggingGUI.php.
Referenced by setObject().
Here is the caller graph for this function:
|
protected |
Definition at line 30 of file class.ilTaggingGUI.php.
Referenced by executeCommand(), and getHTML().
|
protected |
Definition at line 38 of file class.ilTaggingGUI.php.
|
protected |
Definition at line 41 of file class.ilTaggingGUI.php.
Referenced by getInputFieldName().
|
protected |
Definition at line 32 of file class.ilTaggingGUI.php.
Referenced by getHTML(), getTaggingInputHTML(), and saveInput().
|
private |
Definition at line 45 of file class.ilTaggingGUI.php.
|
protected |
Definition at line 43 of file class.ilTaggingGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 34 of file class.ilTaggingGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 35 of file class.ilTaggingGUI.php.
|
protected |
Definition at line 42 of file class.ilTaggingGUI.php.
Referenced by saveInput(), and saveJS().
|
protected |
Definition at line 44 of file class.ilTaggingGUI.php.
|
protected |
Definition at line 40 of file class.ilTaggingGUI.php.
Referenced by getSaveCmd().
|
protected |
Definition at line 36 of file class.ilTaggingGUI.php.
|
protected |
Definition at line 37 of file class.ilTaggingGUI.php.
|
protected |
Definition at line 33 of file class.ilTaggingGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 31 of file class.ilTaggingGUI.php.
Referenced by setObject().
|
protected |
Definition at line 39 of file class.ilTaggingGUI.php.
Referenced by getUserId().