|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 | |
| ILIAS Like InternalGUIService | $gui |
| 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 42 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 97 of file class.ilLikeGUI.php.
|
static |
Get expression text for const.
Definition at line 364 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 196 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 114 of file class.ilLikeGUI.php.
References Vendor\Package\$f, $lng, ILIAS\Repository\ctrl(), ilCtrl\getLinkTarget(), ilCtrl\setParameter(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 70 of file class.ilLikeGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Render emo counters.
| ilLikeDataException |
Definition at line 152 of file class.ilLikeGUI.php.
| ilLikeGUI::renderEmoticons | ( | ) |
Render emoticons (asynch)
Definition at line 227 of file class.ilLikeGUI.php.
References $id, $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 310 of file class.ilLikeGUI.php.
References Vendor\Package\$f, 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 271 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 81 of file class.ilLikeGUI.php.
|
protected |
Definition at line 33 of file class.ilLikeGUI.php.
|
protected |
Definition at line 28 of file class.ilLikeGUI.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilLikeGUI.php.
|
protected |
Definition at line 27 of file class.ilLikeGUI.php.
|
protected |
Definition at line 32 of file class.ilLikeGUI.php.
|
protected |
Definition at line 30 of file class.ilLikeGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilLikeGUI.php.
|
protected |
Definition at line 35 of file class.ilLikeGUI.php.
|
protected |
Definition at line 36 of file class.ilLikeGUI.php.
|
protected |
Definition at line 31 of file class.ilLikeGUI.php.
|
protected |
Definition at line 37 of file class.ilLikeGUI.php.
|
protected |
Definition at line 38 of file class.ilLikeGUI.php.
|
protected |
Definition at line 29 of file class.ilLikeGUI.php.
|
protected |
Definition at line 34 of file class.ilLikeGUI.php.