37 $this->
user = $DIC->user();
38 $this->ctrl = $DIC->ctrl();
39 $this->db = $DIC->database();
43 "opened" =>
array(
"storage" =>
"session")
68 switch (
$_GET[
"act"]) {
72 $_GET[
"accordion_id"],
73 (
int)
$_GET[
"user_id"],
76 $cur_arr = explode(
";", $cur);
77 if (!in_array((
int) $_GET[
"tab_nr"], $cur_arr)) {
78 $cur_arr[] = (int) $_GET[
"tab_nr"];
81 $_GET[
"accordion_id"],
82 (
int) $_GET[
"user_id"],
84 implode($cur_arr,
";")
90 $_GET[
"accordion_id"],
91 (
int) $_GET[
"user_id"],
94 $cur_arr = explode(
";", $cur);
95 if ((
$key = array_search((
int) $_GET[
"tab_nr"], $cur_arr)) !==
false) {
96 unset($cur_arr[
$key]);
99 $_GET[
"accordion_id"],
100 (
int) $_GET[
"user_id"],
102 implode($cur_arr,
";")
108 $_GET[
"accordion_id"],
109 (
int) $_GET[
"user_id"],
118 $_GET[
"accordion_id"],
119 (
int) $_GET[
"user_id"],
139 switch ($this->
properties[$a_property][
"storage"]) {
141 $_SESSION[
"accordion"][$a_table_id][$a_user_id][$a_property]
165 switch ($this->
properties[$a_property][
"storage"]) {
167 $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.
Create styles array
The data for the language used.
Saves (mostly asynchronously) user properties of accordions.