|
ILIAS
release_8 Revision v8.24
|
User interface for like feature. More...
Collaboration diagram for ilLikeGUI:Public Member Functions | |
| __construct (\ilLikeData $data, ?\ilTemplate $main_tpl=null) | |
| setObject (int $a_obj_id, string $a_obj_type, int $a_sub_obj_id=0, string $a_sub_obj_type="", int $a_news_id=0) | |
| executeCommand () | |
| getHTML () | |
| renderEmoticons () | |
| Render emoticons (asynch) More... | |
| renderModal () | |
| Render modal (asynch) More... | |
Static Public Member Functions | |
| static | getExpressionText (int $a_const) |
| Get expression text for const. More... | |
Protected Member Functions | |
| initJavascript () | |
| renderEmoCounters (ILIAS\UI\Component\Signal $modal_signal=null, bool $unavailable=false) | |
| Render emo counters. More... | |
| getGlyphForConst (int $a_const, bool $unavailable=false) | |
| saveExpression () | |
| Save expression (asynch) More... | |
Protected Attributes | |
| ilLikeData | $data |
| ILIAS DI UIServices | $ui |
| ilGlobalTemplateInterface | $main_tpl |
| StandardGUIRequest | $request |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilObjUser | $user |
| int | $obj_id |
| string | $obj_type |
| int | $sub_obj_id |
| string | $sub_obj_type |
| int | $news_id |
| string | $dom_id |
User interface for like feature.
Definition at line 25 of file class.ilLikeGUI.php.
| ilLikeGUI::__construct | ( | \ilLikeData | $data, |
| ?\ilTemplate | $main_tpl = null |
||
| ) |
Definition at line 41 of file class.ilLikeGUI.php.
References $data, $DIC, $main_tpl, ILIAS\Repository\ctrl(), initJavascript(), ILIAS\Repository\lng(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilLikeGUI::executeCommand | ( | ) |
Definition at line 88 of file class.ilLikeGUI.php.
|
static |
Get expression text for const.
Definition at line 348 of file class.ilLikeGUI.php.
References $lng, ilLikeData\TYPE_ANGRY, ilLikeData\TYPE_ASTOUNDED, ilLikeData\TYPE_DISLIKE, ilLikeData\TYPE_LAUGH, ilLikeData\TYPE_LIKE, ilLikeData\TYPE_LOVE, and ilLikeData\TYPE_SAD.
|
protected |
Definition at line 187 of file class.ilLikeGUI.php.
References Vendor\Package\$f, ilLikeData\TYPE_ANGRY, ilLikeData\TYPE_ASTOUNDED, ilLikeData\TYPE_DISLIKE, ilLikeData\TYPE_LAUGH, ilLikeData\TYPE_LIKE, ilLikeData\TYPE_LOVE, and ilLikeData\TYPE_SAD.
| ilLikeGUI::getHTML | ( | ) |
Definition at line 105 of file class.ilLikeGUI.php.
References Vendor\Package\$f, $lng, $tpl, ILIAS\Repository\ctrl(), ilCtrl\getLinkTarget(), ilCtrl\setParameter(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 67 of file class.ilLikeGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Render emo counters.
| ilLikeDataException |
Definition at line 143 of file class.ilLikeGUI.php.
| ilLikeGUI::renderEmoticons | ( | ) |
Render emoticons (asynch)
Definition at line 211 of file class.ilLikeGUI.php.
References $id, $tpl, $txt, $url, exit, and ILIAS\Repository\ui().
Here is the call graph for this function:| ilLikeGUI::renderModal | ( | ) |
Render modal (asynch)
| ilDateTimeException | |
| ilLikeDataException | |
| ilWACException |
Definition at line 294 of file class.ilLikeGUI.php.
References Vendor\Package\$f, $name, ilObjUser\_getPersonalPicturePath(), exit, ilDatePresentation\formatDate(), ilUserUtil\getNamePresentation(), IL_CAL_DATETIME, and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Save expression (asynch)
| ilLikeDataException |
Definition at line 255 of file class.ilLikeGUI.php.
References exit, and ILIAS\Repository\user().
Here is the call graph for this function:| ilLikeGUI::setObject | ( | int | $a_obj_id, |
| string | $a_obj_type, | ||
| int | $a_sub_obj_id = 0, |
||
| string | $a_sub_obj_type = "", |
||
| int | $a_news_id = 0 |
||
| ) |
Definition at line 72 of file class.ilLikeGUI.php.
|
protected |
Definition at line 32 of file class.ilLikeGUI.php.
|
protected |
Definition at line 27 of file class.ilLikeGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilLikeGUI.php.
|
protected |
Definition at line 31 of file class.ilLikeGUI.php.
|
protected |
Definition at line 29 of file class.ilLikeGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilLikeGUI.php.
|
protected |
Definition at line 34 of file class.ilLikeGUI.php.
|
protected |
Definition at line 35 of file class.ilLikeGUI.php.
|
protected |
Definition at line 30 of file class.ilLikeGUI.php.
|
protected |
Definition at line 36 of file class.ilLikeGUI.php.
|
protected |
Definition at line 37 of file class.ilLikeGUI.php.
|
protected |
Definition at line 28 of file class.ilLikeGUI.php.
|
protected |
Definition at line 33 of file class.ilLikeGUI.php.