ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
hasContent () | |
Check if clipboard has content. More... | |
get () | |
Get clipboard content. More... | |
getValidatedContent () | |
Get validated content of clipboard. More... | |
add (array $a_usr_ids) | |
Add entries to clipboard. More... | |
delete (array $a_usr_ids) | |
User ids to delete. More... | |
replace (array $a_usr_ids) | |
Replace clipboard content. More... | |
clear () | |
save () | |
Save clipboard content in session. More... | |
Static Public Member Functions | |
static | getInstance (int $a_usr_id) |
Data Fields | |
const | SESSION_KEYWORD = 'usr_clipboard' |
Protected Member Functions | |
__construct (int $a_user_id) | |
read () | |
Read from session. More... | |
Private Attributes | |
array | $clipboard = array() |
Static Private Attributes | |
static ilUserClipboard | $instance = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning User clipboard
Definition at line 23 of file class.ilUserClipboard.php.
|
protected |
Definition at line 29 of file class.ilUserClipboard.php.
References read().
ilUserClipboard::add | ( | array | $a_usr_ids | ) |
Add entries to clipboard.
Definition at line 75 of file class.ilUserClipboard.php.
ilUserClipboard::clear | ( | ) |
Definition at line 102 of file class.ilUserClipboard.php.
ilUserClipboard::delete | ( | array | $a_usr_ids | ) |
User ids to delete.
Definition at line 83 of file class.ilUserClipboard.php.
References replace().
ilUserClipboard::get | ( | ) |
Get clipboard content.
Definition at line 53 of file class.ilUserClipboard.php.
References $clipboard.
|
static |
Definition at line 34 of file class.ilUserClipboard.php.
Referenced by ilUserClipboardTableGUI\__construct(), ilLPTableBaseGUI\addToClipboard(), ilMembershipGUI\addToClipboard(), ilObjRoleGUI\addToClipboardObject(), ilObjUserFolderGUI\addToClipboardObject(), ilRepositorySearchGUI\emptyClipboard(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), and ilRepositorySearchGUI\removeFromClipboard().
ilUserClipboard::getValidatedContent | ( | ) |
Get validated content of clipboard.
Definition at line 61 of file class.ilUserClipboard.php.
References $valid, and ilObjUser\_lookupLogin().
ilUserClipboard::hasContent | ( | ) |
Check if clipboard has content.
Definition at line 45 of file class.ilUserClipboard.php.
|
protected |
Read from session.
Definition at line 118 of file class.ilUserClipboard.php.
References ilSession\get().
Referenced by __construct().
ilUserClipboard::replace | ( | array | $a_usr_ids | ) |
Replace clipboard content.
Definition at line 97 of file class.ilUserClipboard.php.
Referenced by delete().
ilUserClipboard::save | ( | ) |
Save clipboard content in session.
Definition at line 110 of file class.ilUserClipboard.php.
References ilSession\set().
|
private |
Definition at line 27 of file class.ilUserClipboard.php.
Referenced by get().
|
staticprivate |
Definition at line 26 of file class.ilUserClipboard.php.
const ilUserClipboard::SESSION_KEYWORD = 'usr_clipboard' |
Definition at line 25 of file class.ilUserClipboard.php.