35 $this->
user = $DIC->user();
36 $this->ctrl = $DIC->ctrl();
37 $this->db = $DIC->database();
41 "filter" => array(
"storage" =>
"db"),
42 "direction" => array(
"storage" =>
"db"),
43 "order" => array(
"storage" =>
"db"),
44 "rows" => array(
"storage" =>
"db"),
45 "offset" => array(
"storage" =>
"session"),
46 "selfields" => array(
"storage" =>
"db"),
47 "selfilters" => array(
"storage" =>
"db"),
48 "filter_values" => array(
"storage" =>
"db")
59 $cmd = $ilCtrl->getCmd();
114 $storage = $this->properties[$a_property][
"storage"];
116 $storage =
"session";
121 $_SESSION[
"table"][$a_table_id][$a_user_id][$a_property]
129 "table_id" => array(
"text", $a_table_id),
130 "user_id" => array(
"integer", $a_user_id),
131 "property" => array(
"text", $a_property)),
133 "value" => array(
"text", $a_value)
150 $storage = $this->properties[$a_property][
"storage"];
152 $storage =
"session";
157 return $_SESSION[
"table"][$a_table_id][$a_user_id][$a_property];
162 $q =
"SELECT value FROM table_properties " .
163 " WHERE table_id = " .
$ilDB->quote($a_table_id,
"text") .
164 " AND user_id = " .
$ilDB->quote($a_user_id,
"integer") .
165 " AND property = " .
$ilDB->quote($a_property,
"text")
167 $rec =
$ilDB->fetchAssoc($set);
168 return $rec[
"value"];
181 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.
__construct()
Constructor.
getProperty($a_table_id, $a_user_id, $a_property)
Get property in session or db.
storeProperty( $a_table_id, $a_user_id, $a_property, $a_value)
Store property in session or db.
& executeCommand()
execute command