ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilBuddySystemGUI. More...
Public Member Functions | |
__construct () | |
executeCommand () | |
Static Public Member Functions | |
static | initializeFrontend () |
Data Fields | |
const | BS_REQUEST_HTTP_GET = 1 |
const | BS_REQUEST_HTTP_POST = 2 |
Protected Member Functions | |
isRequestParameterGiven ($key, $type) | |
Protected Attributes | |
$ctrl | |
$buddylist | |
$statefactory | |
$user | |
$lng | |
$http | |
Static Protected Attributes | |
static | $frontend_initialized = false |
Private Member Functions | |
requestCommand () | |
ignoreCommand () | |
linkCommand () | |
transitionCommand ($cmd, $positive_feedback_lng_id, callable $onBeforeExecute=null) | |
transitionAsyncCommand () | |
Performs a state transition based on the request action. More... | |
redirectToReferer () | |
Class ilBuddySystemGUI.
Definition at line 12 of file class.ilBuddySystemGUI.php.
ilBuddySystemGUI::__construct | ( | ) |
Definition at line 55 of file class.ilBuddySystemGUI.php.
References $DIC, ilBuddySystemRelationStateFactory\getInstance(), ilBuddyList\getInstanceByGlobalUser(), ILIAS\FileDelivery\http(), and user().
ilBuddySystemGUI::executeCommand | ( | ) |
RuntimeException |
Definition at line 104 of file class.ilBuddySystemGUI.php.
References user().
|
private |
Definition at line 155 of file class.ilBuddySystemGUI.php.
References transitionCommand().
|
static |
Definition at line 75 of file class.ilBuddySystemGUI.php.
References $config, $DIC, and ilJsonUtil\encode().
Referenced by ilBuddySystemLinkButton\getHtml(), and ilMainMenuGUI\populateWithBuddySystem().
|
protected |
string | $key | |
int | $type |
Definition at line 126 of file class.ilBuddySystemGUI.php.
References $_GET, $_POST, $key, $type, BS_REQUEST_HTTP_GET, and BS_REQUEST_HTTP_POST.
Referenced by transitionCommand().
|
private |
Definition at line 163 of file class.ilBuddySystemGUI.php.
References transitionCommand().
|
private |
Definition at line 261 of file class.ilBuddySystemGUI.php.
References ILIAS\FileDelivery\http().
Referenced by transitionCommand().
|
private |
Definition at line 143 of file class.ilBuddySystemGUI.php.
References ilObjUser\_lookupPref(), ilBuddySystemRelation\getBuddyUserId(), ilBuddySystemRelation\isUnlinked(), transitionCommand(), and ilUtil\yn2tf().
|
private |
Performs a state transition based on the request action.
Definition at line 204 of file class.ilBuddySystemGUI.php.
References $_POST, $action, $response, ilObjUser\_isAnonymous(), ilObjUser\_lookupLogin(), ilObjUser\_lookupPref(), ilUtil\stripSlashes(), and ilUtil\yn2tf().
|
private |
string | $cmd | |
string | $positive_feedback_lng_id | |
callable | null | $onBeforeExecute |
Definition at line 173 of file class.ilBuddySystemGUI.php.
References $_GET, ilObjUser\_lookupLogin(), ilBuddyList\getInstanceByGlobalUser(), isRequestParameterGiven(), redirectToReferer(), and ilUtil\sendInfo().
Referenced by ignoreCommand(), linkCommand(), and requestCommand().
|
protected |
Definition at line 30 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 25 of file class.ilBuddySystemGUI.php.
|
staticprotected |
Definition at line 20 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 50 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 45 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 35 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 40 of file class.ilBuddySystemGUI.php.
const ilBuddySystemGUI::BS_REQUEST_HTTP_GET = 1 |
Definition at line 14 of file class.ilBuddySystemGUI.php.
Referenced by isRequestParameterGiven().
const ilBuddySystemGUI::BS_REQUEST_HTTP_POST = 2 |
Definition at line 15 of file class.ilBuddySystemGUI.php.
Referenced by isRequestParameterGiven().