ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
User clipboard. More...
Public Member Functions | |
hasContent () | |
Check if clipboard has content. More... | |
get () | |
Get clipboard content. More... | |
getValidatedContent () | |
Get validated content of clipboard. More... | |
add ($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 ($a_usr_id) |
Get singelton instance. More... | |
Data Fields | |
const | SESSION_KEYWORD = 'usr_clipboard' |
Protected Member Functions | |
__construct ($a_user_id) | |
singleton constructor More... | |
read () | |
Read from session. More... | |
Private Attributes | |
$user_id = 0 | |
$clipboard = array() | |
Static Private Attributes | |
static | $instance = null |
User clipboard.
Definition at line 11 of file class.ilUserClipboard.php.
|
protected |
singleton constructor
Definition at line 24 of file class.ilUserClipboard.php.
References read().
ilUserClipboard::add | ( | $a_usr_ids | ) |
Add entries to clipboard.
Definition at line 80 of file class.ilUserClipboard.php.
ilUserClipboard::clear | ( | ) |
Definition at line 109 of file class.ilUserClipboard.php.
ilUserClipboard::delete | ( | array | $a_usr_ids | ) |
User ids to delete.
array | $a_usr_ids |
Definition at line 89 of file class.ilUserClipboard.php.
References $remaining, and replace().
ilUserClipboard::get | ( | ) |
Get clipboard content.
Definition at line 56 of file class.ilUserClipboard.php.
References $clipboard.
|
static |
Get singelton instance.
int | $a_usr_id |
Definition at line 35 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 65 of file class.ilUserClipboard.php.
References $valid, and ilObjUser\_lookupLogin().
ilUserClipboard::hasContent | ( | ) |
Check if clipboard has content.
Definition at line 47 of file class.ilUserClipboard.php.
|
protected |
Read from session.
Definition at line 125 of file class.ilUserClipboard.php.
References ilSession\get().
Referenced by __construct().
ilUserClipboard::replace | ( | array | $a_usr_ids | ) |
Replace clipboard content.
array | $a_usr_ids |
Definition at line 104 of file class.ilUserClipboard.php.
Referenced by delete().
ilUserClipboard::save | ( | ) |
Save clipboard content in session.
Definition at line 117 of file class.ilUserClipboard.php.
References ilSession\set().
|
private |
Definition at line 18 of file class.ilUserClipboard.php.
Referenced by get().
|
staticprivate |
Definition at line 15 of file class.ilUserClipboard.php.
|
private |
Definition at line 17 of file class.ilUserClipboard.php.
const ilUserClipboard::SESSION_KEYWORD = 'usr_clipboard' |
Definition at line 13 of file class.ilUserClipboard.php.