15 "filter" =>
array(
"storage" =>
"db"),
16 "direction" =>
array(
"storage" =>
"db"),
17 "order" =>
array(
"storage" =>
"db"),
18 "rows" =>
array(
"storage" =>
"db"),
19 "offset" =>
array(
"storage" =>
"session"),
20 "selfields" =>
array(
"storage" =>
"db"),
21 "selfilters" =>
array(
"storage" =>
"db"),
22 "filter_values" =>
array(
"storage" =>
"db")
32 $cmd = $ilCtrl->getCmd();
45 if (
$_GET[
"user_id"] == $ilUser->getId())
59 if (
$_GET[
"user_id"] == $ilUser->getId())
79 $storage = $this->
properties[$a_property][
"storage"];
80 if ($a_user_id == ANONYMOUS_USER_ID)
88 $_SESSION[
"table"][$a_table_id][$a_user_id][$a_property]
93 $ilDB->replace(
"table_properties",
array(
94 "table_id" =>
array(
"text", $a_table_id),
95 "user_id" =>
array(
"integer", $a_user_id),
96 "property" =>
array(
"text", $a_property)),
98 "value" =>
array(
"text", $a_value)
115 $storage = $this->
properties[$a_property][
"storage"];
116 if ($a_user_id == ANONYMOUS_USER_ID)
118 $storage =
"session";
124 return $_SESSION[
"table"][$a_table_id][$a_user_id][$a_property];
128 $set = $ilDB->query($q =
"SELECT value FROM table_properties ".
129 " WHERE table_id = ".$ilDB->quote($a_table_id,
"text").
130 " AND user_id = ".$ilDB->quote($a_user_id,
"integer").
131 " AND property = ".$ilDB->quote($a_property,
"text")
133 $rec = $ilDB->fetchAssoc($set);
134 return $rec[
"value"];
147 if(array_key_exists($a_property, $this->
properties))
isValidProperty($a_property)
Check if given property id is valid.
Saves (mostly asynchronously) user properties of tables (e.g.
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.
getProperty($a_table_id, $a_user_id, $a_property)
Get property in session or db.
& executeCommand()
execute command