26 $this->user_id = $a_user_id;
39 self::$instance =
new self($a_usr_id);
41 return self::$instance;
50 return (
bool) count($this->clipboard);
69 foreach($this->clipboard as $usr_id)
71 include_once
'./Services/User/classes/class.ilObjUser.php';
83 public function add($a_usr_ids)
85 $this->clipboard = array_unique(array_merge($this->clipboard, (
array) $a_usr_ids));
92 public function delete(
array $a_usr_ids)
95 foreach($this->
get() as $usr_id)
97 if(!in_array($usr_id, $a_usr_ids))
99 $remaining[] = $usr_id;
111 $this->clipboard = $a_usr_ids;
116 $this->clipboard =
array();
static _lookupLogin($a_user_id)
lookup login
static getInstance($a_usr_id)
Get singelton instance.
add($a_usr_ids)
Add entries to clipboard.
static get($a_var)
Get a value.
static set($a_var, $a_val)
Set a value.
save()
Save clipboard content in session.
getValidatedContent()
Get validated content of clipboard.
replace(array $a_usr_ids)
Replace clipboard content.
hasContent()
Check if clipboard has content.
Create styles array
The data for the language used.
__construct($a_user_id)
singleton constructor