ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilBuddySystemGUI. More...
Public Member Functions | |
__construct () | |
ilBuddySystemGUI constructor. More... | |
executeCommand () | |
Static Public Member Functions | |
static | initializeFrontend (ilGlobalTemplateInterface $page) |
Data Fields | |
const | BS_REQUEST_HTTP_GET = 1 |
const | BS_REQUEST_HTTP_POST = 2 |
Protected Member Functions | |
isRequestParameterGiven (string $key, int $type) | |
Protected Attributes | |
$ctrl | |
$buddyList | |
$stateFactory | |
$user | |
$lng | |
$http | |
Static Protected Attributes | |
static | $isFrontendInitialized = false |
Private Member Functions | |
requestCommand () | |
ignoreCommand () | |
linkCommand () | |
transitionCommand (string $cmd, string $positiveFeedbackLanguageId, 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 | ( | ) |
ilBuddySystemGUI constructor.
Definition at line 41 of file class.ilBuddySystemGUI.php.
References $DIC, ilBuddySystemRelationStateFactory\getInstance(), ilBuddyList\getInstanceByGlobalUser(), ILIAS\FileDelivery\http(), and user().
ilBuddySystemGUI::executeCommand | ( | ) |
RuntimeException |
Definition at line 93 of file class.ilBuddySystemGUI.php.
References user().
|
private |
Definition at line 147 of file class.ilBuddySystemGUI.php.
References transitionCommand().
|
static |
ilGlobalTemplateInterface | $page |
Definition at line 59 of file class.ilBuddySystemGUI.php.
References $config, $DIC, ilGlobalTemplateInterface\addOnLoadCode(), and ilBuddySystem\getInstance().
Referenced by ilGlobalPageTemplate\prepareBasicJS().
|
protected |
string | $key | |
int | $type |
Definition at line 115 of file class.ilBuddySystemGUI.php.
References $_GET, $_POST, $type, BS_REQUEST_HTTP_GET, and BS_REQUEST_HTTP_POST.
|
private |
Definition at line 155 of file class.ilBuddySystemGUI.php.
References transitionCommand().
|
private |
Definition at line 273 of file class.ilBuddySystemGUI.php.
References ILIAS\FileDelivery\http().
|
private |
Definition at line 132 of file class.ilBuddySystemGUI.php.
References ilObjUser\_lookupPref(), ilBuddySystemRelation\getBuddyUsrId(), 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, Vendor\Package\$e, $response, ilObjUser\_isAnonymous(), ilObjUser\_lookupLogin(), ilObjUser\_lookupPref(), ilUtil\stripSlashes(), and ilUtil\yn2tf().
|
private |
string | $cmd | |
string | $positiveFeedbackLanguageId | |
callable | null | $onBeforeExecute |
Definition at line 165 of file class.ilBuddySystemGUI.php.
References ilUtil\sendInfo().
Referenced by ignoreCommand(), linkCommand(), and requestCommand().
|
protected |
Definition at line 24 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 21 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 36 of file class.ilBuddySystemGUI.php.
|
staticprotected |
Definition at line 18 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 33 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 27 of file class.ilBuddySystemGUI.php.
|
protected |
Definition at line 30 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().