ILIAS
release_4-3 Revision
|
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 | _countTags ($a_obj_ids) |
Count all tags for repository objects. |
|
static |
Count all tags for repository objects.
array | $a_obj_ids | repository object IDs array |
Definition at line 310 of file class.ilTagging.php.
References $ilUser.
Referenced by ilObjectListGUI\preloadCommonProperties().
|
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(), ilPDTaggingBlockGUI\getTagCloud(), and ilObjBlogGUI\renderNavigation().
|
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.
Referenced by getObjectsForTagAndUser(), and ilTaggingAppEventListener\handleEvent().
|
static |
Get objects for tag and user.
int | $a_user_id | User ID |
Definition at line 178 of file class.ilTagging.php.
References ilObject\_exists(), and deleteTagsOfObject().
Referenced by ilPDTaggingBlockGUI\showResourcesForTag().
|
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.
Referenced by ilTaggingGUI\getAllUserTagsForObjectHTML().
|
static |
Get tags for a user.
int | $a_user_id | User ID |
Definition at line 148 of file class.ilTagging.php.
References ilUtil\sortArray().
Referenced by ilPDTaggingBlockGUI\fillDataSection().
|
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.
Referenced by ilObjectListGUI\getHeaderAction(), ilTaggingGUI\getHTML(), and ilTaggingGUI\getTaggingInputHTML().
ilTagging::getUsersForTag | ( | $a_tag | ) |
Get users for tag.
Definition at line 289 of file class.ilTagging.php.
Referenced by ilUserForTagTableGUI\__construct().
|
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.
Referenced by ilTaggingAppEventListener\handleEvent().
|
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.
Referenced by ilTaggingGUI\saveInput(), and ilTaggingGUI\saveJS().