30 "filter" => array(
"storage" =>
"db"),
31 "direction" => array(
"storage" =>
"db"),
32 "order" => array(
"storage" =>
"db"),
33 "rows" => array(
"storage" =>
"db"),
34 "offset" => array(
"storage" =>
"session"),
35 "selfields" => array(
"storage" =>
"db"),
36 "selfilters" => array(
"storage" =>
"db"),
37 "filter_values" => array(
"storage" =>
"db")
44 $this->
user = $DIC->user();
45 $this->
ctrl = $DIC->ctrl();
46 $this->db = $DIC->database();
47 if (isset($DIC[
"http"])) {
48 $this->table_request = new \ILIAS\Table\TableGUIRequest(
68 $requested_table_id = $this->table_request->getTableId();
85 $requested_table_id = $this->table_request->getTableId();
108 $storage = $this->properties[$a_property][
"storage"];
110 $storage =
"session";
114 ilSession::set(
"table_" . $a_table_id .
"_" . $a_user_id .
"_" . $a_property, $a_value);
121 "table_id" => array(
"text", $a_table_id),
122 "user_id" => array(
"integer", $a_user_id),
123 "property" => array(
"text", $a_property)),
125 "value" => array(
"text", $a_value)
142 $storage = $this->properties[$a_property][
"storage"];
144 $storage =
"session";
149 return ilSession::get(
"table_" . $a_table_id .
"_" . $a_user_id .
"_" . $a_property) ??
"";
153 $q =
"SELECT value FROM table_properties " .
154 " WHERE table_id = " .
$ilDB->quote($a_table_id,
"text") .
155 " AND user_id = " .
$ilDB->quote($a_user_id,
"integer") .
156 " AND property = " .
$ilDB->quote($a_property,
"text")
158 $rec =
$ilDB->fetchAssoc($set);
159 return $rec[
"value"] ??
'';
170 if (array_key_exists($a_property, $this->properties)) {
static get(string $a_var)
getCmd(string $fallback_command=null)
ILIAS Table TableGUIRequest $table_request
isValidProperty($a_property)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
storeProperty(string $a_table_id, int $a_user_id, string $a_property, string $a_value)
getProperty(string $a_table_id, int $a_user_id, string $a_property)
static set(string $a_var, $a_val)
Set a value.