35 $this->
user = $DIC->user();
36 $this->ctrl = $DIC->ctrl();
37 $this->db = $DIC->database();
41 "opened" => array(
"storage" =>
"session")
52 $cmd = $ilCtrl->getCmd();
66 switch (
$_GET[
"act"]) {
70 $_GET[
"accordion_id"],
71 (
int)
$_GET[
"user_id"],
74 $cur_arr = explode(
";", $cur);
75 if (!in_array((
int) $_GET[
"tab_nr"], $cur_arr)) {
76 $cur_arr[] = (int) $_GET[
"tab_nr"];
79 $_GET[
"accordion_id"],
80 (
int) $_GET[
"user_id"],
82 implode(
";", $cur_arr)
88 $_GET[
"accordion_id"],
89 (
int) $_GET[
"user_id"],
92 $cur_arr = explode(
";", $cur);
93 if (($key = array_search((
int) $_GET[
"tab_nr"], $cur_arr)) !==
false) {
94 unset($cur_arr[$key]);
97 $_GET[
"accordion_id"],
98 (
int) $_GET[
"user_id"],
100 implode(
";", $cur_arr)
106 $_GET[
"accordion_id"],
107 (
int) $_GET[
"user_id"],
116 $_GET[
"accordion_id"],
117 (
int) $_GET[
"user_id"],
137 switch ($this->properties[$a_property][
"storage"]) {
139 $_SESSION[
"accordion"][$a_table_id][$a_user_id][$a_property]
163 switch ($this->properties[$a_property][
"storage"]) {
165 $r =
$_SESSION[
"accordion"][$a_table_id][$a_user_id][$a_property];
& executeCommand()
execute command
__construct()
Constructor.
getProperty($a_table_id, $a_user_id, $a_property)
Get property in session or db.
setOpenedTab()
Show Filter.
storeProperty( $a_table_id, $a_user_id, $a_property, $a_value)
Store property in session or db.
Saves (mostly asynchronously) user properties of accordions.