|
ILIAS
eassessment Revision 61809
|
Collaboration diagram for ilTagging:Public Member Functions | |
| getUsersForTag ($a_tag) | |
| Get users for tag. | |
Static Public Member Functions | |
| static | writeTagsForUserAndObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_user_id, $a_tags) |
| Write tags for a user and an object. | |
| static | getTagsForUserAndObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_user_id) |
| Get tags for a user and an object. | |
| static | getTagsForObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_only_online=true) |
| Get tags for an object. | |
| static | getTagsForUser ($a_user_id, $a_max=0, $a_only_online=true) |
| Get tags for a user. | |
| static | getObjectsForTagAndUser ($a_user_id, $a_tag) |
| Get objects for tag and user. | |
| static | calculateFontSize ($cnt, $max) |
| Returns 100(%) for 1 and 150(%) for $max y = a + mx 100 = a + m (1) 150 = a + m * max (2) (1): a = 100 - m (3) (2): a = 150 - max*m (4) (3)&(4): m - 100 = max*m - 150 (5) (5) 50 = (max-1)*m => m = 50/(max -1) => a = 100 - 50/(max -1) | |
| static | setTagsOfObjectOffline ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_offline=true) |
| Set offline. | |
| static | deleteTagsOfObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type) |
| Deletes tags of an object. | |
|
static |
Returns 100(%) for 1 and 150(%) for $max y = a + mx 100 = a + m (1) 150 = a + m * max (2) (1): a = 100 - m (3) (2): a = 150 - max*m (4) (3)&(4): m - 100 = max*m - 150 (5) (5) 50 = (max-1)*m => m = 50/(max -1) => a = 100 - 50/(max -1)
Definition at line 220 of file class.ilTagging.php.
Referenced by ilTaggingGUI\getAllUserTagsForObjectHTML(), and ilPDTaggingBlockGUI\getTagCloud().
Here is the caller graph for this function:
|
static |
Deletes tags of an 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 267 of file class.ilTagging.php.
References $ilDB.
Referenced by getObjectsForTagAndUser(), and ilTaggingAppEventListener\handleEvent().
Here is the caller graph for this function:
|
static |
Get objects for tag and user.
| int | $a_user_id | User ID |
Definition at line 178 of file class.ilTagging.php.
References $ilDB, ilObject\_exists(), and deleteTagsOfObject().
Referenced by ilPDTaggingBlockGUI\showResourcesForTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get tags for an 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 112 of file class.ilTagging.php.
References $ilDB.
Referenced by ilTaggingGUI\getAllUserTagsForObjectHTML().
Here is the caller graph for this function:
|
static |
Get tags for a user.
| int | $a_user_id | User ID |
Definition at line 148 of file class.ilTagging.php.
References $ilDB, and ilUtil\sortArray().
Referenced by ilPDTaggingBlockGUI\fillDataSection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get tags for a user and an 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 |
| int | $a_user_id | User ID |
Definition at line 77 of file class.ilTagging.php.
References $ilDB.
Referenced by ilTaggingGUI\getTaggingInputHTML().
Here is the caller graph for this function:| ilTagging::getUsersForTag | ( | $a_tag | ) |
Get users for tag.
Definition at line 289 of file class.ilTagging.php.
References $ilDB.
Referenced by ilUserForTagTableGUI\__construct().
Here is the caller graph for this function:
|
static |
Set offline.
| 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 |
| boolean | $a_offline | Offline (true/false, true means offline!) |
Definition at line 239 of file class.ilTagging.php.
References $ilDB.
Referenced by ilTaggingAppEventListener\handleEvent().
Here is the caller graph for this function:
|
static |
Write tags for a user and an 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 |
| int | $a_user_id | User ID |
| array | $a_tags | Tags |
Definition at line 27 of file class.ilTagging.php.
References $ilDB.
Referenced by ilTaggingGUI\saveInput().
Here is the caller graph for this function: