37        $this->
user = $DIC->user();
 
   38        $this->ctrl = 
$DIC->ctrl();
 
   39        $this->db = 
$DIC->database();
 
   43        "filter" => array(
"storage" => 
"db"),
 
   44        "direction" => array(
"storage" => 
"db"),
 
   45        "order" => array(
"storage" => 
"db"),
 
   46        "rows" => array(
"storage" => 
"db"),
 
   47        "offset" => array(
"storage" => 
"session"),
 
   48        "selfields" => array(
"storage" => 
"db"),
 
   49        "selfilters" => array(
"storage" => 
"db"),
 
   50        "filter_values" => array(
"storage" => 
"db")
 
  116        $storage = $this->properties[$a_property][
"storage"];
 
  117        if ($a_user_id == ANONYMOUS_USER_ID) {
 
  118            $storage = 
"session";
 
  123                $_SESSION[
"table"][$a_table_id][$a_user_id][$a_property]
 
  131                    "table_id" => array(
"text", $a_table_id),
 
  132                    "user_id" => array(
"integer", $a_user_id),
 
  133                    "property" => array(
"text", $a_property)),
 
  135                    "value" => array(
"text", $a_value)
 
  152        $storage = $this->properties[$a_property][
"storage"];
 
  153        if ($a_user_id == ANONYMOUS_USER_ID) {
 
  154            $storage = 
"session";
 
  159                return $_SESSION[
"table"][$a_table_id][$a_user_id][$a_property];
 
  164                    $q = 
"SELECT value FROM table_properties " .
 
  165                    " WHERE table_id = " . 
$ilDB->quote($a_table_id, 
"text") .
 
  166                    " AND user_id = " . 
$ilDB->quote($a_user_id, 
"integer") .
 
  167                    " AND property = " . 
$ilDB->quote($a_property, 
"text")
 
  169                $rec = 
$ilDB->fetchAssoc($set);
 
  170                return $rec[
"value"];
 
  183        if (array_key_exists($a_property, $this->properties)) {
 
An exception for terminatinating execution or to throw for unit testing.
Saves (mostly asynchronously) user properties of tables (e.g.
& executeCommand()
execute command
storeProperty( $a_table_id, $a_user_id, $a_property, $a_value)
Store property in session or db.
isValidProperty($a_property)
Check if given property id is valid.
__construct()
Constructor.
getProperty($a_table_id, $a_user_id, $a_property)
Get property in session or db.