ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilDclTableView Class Reference
+ Inheritance diagram for ilDclTableView:
+ Collaboration diagram for ilDclTableView:

Public Member Functions

 getId ()
 
 setId (int $id)
 
 getTableId ()
 
 setTableId (int $table_id)
 
 getTitle ()
 
 setTitle (string $title)
 
 getOrder ()
 
 setOrder (int $order)
 
 getDescription ()
 
 setDescription (string $description)
 
 getTableviewOrder ()
 
 setTableviewOrder (int $tableview_order)
 
 getRoles ()
 
 setRoles (array $roles)
 
 getRoleLimitation ()
 
 setRoleLimitation (bool $role_limitation)
 
 sleep ($field_name)
 
 wakeUp ($field_name, $field_value)
 
 delete ()
 
 getTable ()
 
 getFilterableFieldSettings ()
 getFilterableFields Returns all fieldsetting-objects of this tableview which have set their filterable to true, including standard fields. More...
 
 getVisibleFields ()
 Returns all field-objects of this tableview which have set their visibility to true, including standard fields. More...
 
 getFieldSettings ()
 
 getFieldSetting ($field_id)
 
 create (bool $create_default_settings=true)
 
 createDefaultSettings ()
 create default ilDclTableViewFieldSetting entries More...
 
 createFieldSetting ($field_id)
 create ilDclTableViewFieldSetting for this tableview and the given field id More...
 
 cloneStructure (ilDclTableView $orig, array $new_fields)
 
- Public Member Functions inherited from ActiveRecord
 getArConnector ()
 
 getArFieldList ()
 
 getConnectorContainerName ()
 Return the Name of your Connector Table More...
 
 setConnectorContainerName (string $connector_container_name)
 
 getPrimaryFieldValue ()
 
 setPrimaryFieldValue ($value)
 
 __construct (mixed $primary_key=0)
 
 storeObjectToCache ()
 
 asStdClass ()
 
 asArray ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, string $value)
 
 sleep ($field_name)
 
 wakeUp ($field_name, $field_value)
 
 getArrayForConnector ()
 
 installConnector ()
 
 store ()
 
 save ()
 
 create ()
 
 copy (int $new_id=0)
 
 afterObjectLoad ()
 
 read ()
 
 update ()
 
 delete ()
 
 __call ($name, $arguments)
 

Static Public Member Functions

static returnDbTableName ()
 
static findOrGetInstance ($primary_key, array $add_constructor_args=[])
 
static getAllForTableId (int $table_id)
 
static getCountForTableId (int $table_id)
 
static createOrGetStandardView (int $table_id)
 
- Static Public Member Functions inherited from ActiveRecord
static returnDbTableName ()
 
static installDB ()
 
static renameDBField (string $old_name, string $new_name)
 
static tableExists ()
 
static fieldExists (string $field_name)
 
static removeDBField (string $field_name)
 
static updateDB ()
 
static resetDB ()
 
static truncateDB ()
 
static flushDB ()
 never use in ILIAS Core, Plugins only More...
 
static preloadObjects ()
 
static additionalParams (array $additional_params)
 
static findOrFail ($primary_key, array $add_constructor_args=[])
 Tries to find the object and throws an Exception if object is not found, instead of returning null. More...
 
static findOrGetInstance ($primary_key, array $add_constructor_args=[])
 
static where ($where, $operator=null)
 
static innerjoinAR (ActiveRecord $activeRecord, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
 
static innerjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
 
static leftjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
 
static orderBy (string $orderBy, string $orderDirection='ASC')
 
static dateFormat (string $date_format='d.m.Y - H:i:s')
 
static limit (int $start, int $end)
 
static affectedRows ()
 
static count ()
 
static get ()
 
static debug ()
 
static first ()
 
static getCollection ()
 
static last ()
 
static getFirstFromLastQuery ()
 
static connector (arConnector $arConnector)
 
static raw (bool $set_raw=true)
 
static getArray (?string $key=null, string|array|null $values=null)
 
static _toCamelCase (string $str, bool $capitalise_first_char=false)
 

Protected Attributes

int $id
 
int $table_id = 0
 
string $title = ""
 
array $roles = []
 
bool $role_limitation = false
 
string $description = ''
 
int $tableview_order = 0
 
array $visible_fields_cache = []
 
- Protected Attributes inherited from ActiveRecord
bool $ar_safe_read = true
 
string $connector_container_name = ''
 
bool $is_new = true
 

Additional Inherited Members

- Protected Member Functions inherited from ActiveRecord
 installDatabase ()
 
- Static Protected Member Functions inherited from ActiveRecord
static getCalledClass ()
 Returns an instance of the instatiated calling active record (needs to be done in static methods) : This should be cached somehow More...
 
static fromCamelCase (string $str)
 

Detailed Description

Definition at line 21 of file class.ilDclTableView.php.

Member Function Documentation

◆ cloneStructure()

ilDclTableView::cloneStructure ( ilDclTableView  $orig,
array  $new_fields 
)
Parameters
ilDclTableView$orig
array$new_fieldsfields mapping

Definition at line 360 of file class.ilDclTableView.php.

References $DIC, Vendor\Package\$f, ilPageObject\copy(), ActiveRecord\create(), createFieldSetting(), ilDclDetailedViewDefinition\exists(), getDescription(), getFieldSettings(), getId(), getOrder(), getRoleLimitation(), getRoles(), getTitle(), null, ilDclCache\setCloneOf(), setDescription(), setOrder(), setRoleLimitation(), setRoles(), setTitle(), and ilDclCache\TYPE_TABLEVIEW.

360  : void
361  {
362  global $DIC;
363  //clone structure
364  $this->setTitle($orig->getTitle() . ' ' . $DIC->language()->txt('copy_of_suffix'));
365  $this->setOrder($orig->getOrder());
366  $this->setDescription($orig->getDescription());
367  $this->setRoles($orig->getRoles());
368  $this->setRoleLimitation($orig->getRoleLimitation());
369  $this->create(false); //create default setting, adjust them later
370 
371  //clone default values
373 
374  //clone fieldsettings
375  foreach ($orig->getFieldSettings() as $orig_fieldsetting) {
376  $new_fieldsetting = new ilDclTableViewFieldSetting();
377  $new_fieldsetting->setTableviewId($this->getId());
378  if ($new_fields[$orig_fieldsetting->getField()] ?? null) {
379  //normal fields
380  $new_fieldsetting->setField($new_fields[$orig_fieldsetting->getField()]->getId());
381  } else {
382  //standard fields
383  $new_fieldsetting->setField($orig_fieldsetting->getField());
384  }
385  $new_field_id = $new_fieldsetting->cloneStructure($orig_fieldsetting);
386 
387  //clone default value
388  $datatype = $orig_fieldsetting->getFieldObject()->getDatatypeId();
389  $match = ilDclTableViewBaseDefaultValue::findSingle($datatype, $orig_fieldsetting->getId());
390 
391  if (!is_null($match)) {
392  $new_default_value = $f->create($datatype);
393  $new_default_value->setTviewSetId($new_field_id);
394  $new_default_value->setValue($match->getValue());
395  $new_default_value->create();
396  }
397  }
398  $this->createFieldSetting('comments');
399 
400  //clone pageobject
402  $orig_pageobject = new ilDclDetailedViewDefinition($orig->getId());
403  $orig_pageobject->copy($this->getId());
404  }
405 
406  // mandatory for all cloning functions
408  }
createFieldSetting($field_id)
create ilDclTableViewFieldSetting for this tableview and the given field id
setTitle(string $title)
const TYPE_TABLEVIEW
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
setDescription(string $description)
global $DIC
Definition: shib_login.php:26
static setCloneOf(int $old, int $new, string $type)
setRoles(array $roles)
setRoleLimitation(bool $role_limitation)
copy(int $a_id, string $a_parent_type="", int $a_new_parent_id=0, bool $a_clone_mobs=false, int $obj_copy_id=0, bool $overwrite_existing=true)
Copy page.
+ Here is the call graph for this function:

◆ create()

ilDclTableView::create ( bool  $create_default_settings = true)

Definition at line 302 of file class.ilDclTableView.php.

References createDefaultSettings().

302  : void
303  {
304  parent::create();
305  if ($create_default_settings) {
306  $this->createDefaultSettings();
307  }
308  }
createDefaultSettings()
create default ilDclTableViewFieldSetting entries
+ Here is the call graph for this function:

◆ createDefaultSettings()

ilDclTableView::createDefaultSettings ( )

create default ilDclTableViewFieldSetting entries

Definition at line 313 of file class.ilDclTableView.php.

References createFieldSetting(), and ilDclCache\getTableCache().

Referenced by create().

313  : void
314  {
315  $table = ilDclCache::getTableCache($this->table_id);
316 
317  foreach ($table->getFieldIds() as $field_id) {
318  $this->createFieldSetting($field_id);
319  }
320 
321  //ilDclTable->getFieldIds won't reuturn comments if they are disabled,
322  //still we have to create a fieldsetting for this field
323  if (!$table->getPublicCommentsEnabled()) {
324  $this->createFieldSetting('comments');
325  }
326  }
createFieldSetting($field_id)
create ilDclTableViewFieldSetting for this tableview and the given field id
static getTableCache(?int $table_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createFieldSetting()

ilDclTableView::createFieldSetting (   $field_id)

create ilDclTableViewFieldSetting for this tableview and the given field id

Parameters
int | string$field_id

Definition at line 332 of file class.ilDclTableView.php.

References ilDclStandardField\_isStandardField(), and ActiveRecord\where().

Referenced by cloneStructure(), and createDefaultSettings().

332  : void
333  {
335  [
336  'tableview_id' => $this->id,
337  'field' => $field_id,
338  ]
339  )->get()
340  ) {
341  $field_set = new ilDclTableViewFieldSetting();
342  $field_set->setTableviewId($this->id);
343  $field_set->setField($field_id);
344  $field_set->setVisible(!ilDclStandardField::_isStandardField($field_id));
345  $field_set->setFilterChangeable(true);
346  $field_set->setLockedCreate(false);
347  $field_set->setLockedEdit(false);
348  $field_set->setRequiredCreate(false);
349  $field_set->setRequiredEdit(false);
350  $field_set->setVisibleCreate(true);
351  $field_set->setVisibleEdit(true);
352  $field_set->create();
353  }
354  }
static where($where, $operator=null)
static _isStandardField($field_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createOrGetStandardView()

static ilDclTableView::createOrGetStandardView ( int  $table_id)
static
Parameters
$table_id
Returns
ilDclTableView|ActiveRecord

Definition at line 427 of file class.ilDclTableView.php.

References $DIC, $http, $lng, $ref_id, ILIAS\UI\examples\Layout\Page\Standard\$refinery, ActiveRecord\first(), and ActiveRecord\orderBy().

Referenced by ilDclTable\doCreate(), and ilDataCollectionDataSet\getXmlNamespace().

427  : ActiveRecord
428  {
429  if ($standardview = self::where(['table_id' => $table_id])->orderBy('tableview_order')->first()) {
430  return $standardview;
431  }
432 
433  global $DIC;
434  $rbacreview = $DIC['rbacreview'];
435  $http = $DIC->http();
436  $refinery = $DIC->refinery();
437 
438  $roles = [];
439 
440  $ref_id = $http->wrapper()->query()->retrieve('ref_id', $refinery->kindlyTo()->int());
441  foreach ($rbacreview->getParentRoleIds($ref_id) as $role_array) {
442  $roles[] = $role_array['obj_id'];
443  }
444 
445  $view = new self();
446 
447  $hasRefId = $http->wrapper()->query()->has('ref_id');
448 
449  if ($hasRefId) {
450  global $DIC;
451  $rbacreview = $DIC['rbacreview'];
452 
453  $ref_id = $http->wrapper()->query()->retrieve('ref_id', $refinery->kindlyTo()->int());
454 
455  $roles = [];
456  foreach ($rbacreview->getParentRoleIds($ref_id) as $role_array) {
457  $roles[] = $role_array['obj_id'];
458  }
459  $view->setRoles(array_merge($roles, $rbacreview->getLocalRoles($ref_id)));
460  }
461  $view->setTableId($table_id);
462  // bugfix mantis 0023307
463  $lng = $DIC['lng'];
464  $view->setTitle($lng->txt('dcl_title_standardview'));
465  $view->setTableviewOrder(10);
466  $view->create();
467 
468  return $view;
469  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static orderBy(string $orderBy, string $orderDirection='ASC')
$http
Definition: deliver.php:30
$ref_id
Definition: ltiauth.php:65
global $DIC
Definition: shib_login.php:26
global $lng
Definition: privfeed.php:31
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete()

ilDclTableView::delete ( )

Definition at line 197 of file class.ilDclTableView.php.

References getFieldSettings().

197  : void
198  {
199  //Delete settings
200  foreach ($this->getFieldSettings() as $setting) {
201  $setting->delete();
202  }
203  parent::delete();
204  }
+ Here is the call graph for this function:

◆ findOrGetInstance()

static ilDclTableView::findOrGetInstance (   $primary_key,
array  $add_constructor_args = [] 
)
static
Returns
ActiveRecord|ilDclTableView

Definition at line 214 of file class.ilDclTableView.php.

Referenced by ilDclCreateViewDefinitionGUI\__construct(), ilDclEditViewDefinitionGUI\__construct(), ilDclRecordEditGUI\__construct(), and ilDclTableViewGUI\executeCommand().

214  : ActiveRecord
215  {
216  return parent::findOrGetInstance($primary_key, $add_constructor_args);
217  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ getAllForTableId()

static ilDclTableView::getAllForTableId ( int  $table_id)
static
Returns
ilDclTableView[]|ActiveRecord[]

Definition at line 413 of file class.ilDclTableView.php.

Referenced by ilDclBaseFieldModel\addToTableViews(), and ilDclTable\getTableViews().

413  : array
414  {
415  return self::where(['table_id' => $table_id])->orderBy('title')->get();
416  }
+ Here is the caller graph for this function:

◆ getCountForTableId()

static ilDclTableView::getCountForTableId ( int  $table_id)
static

Definition at line 418 of file class.ilDclTableView.php.

Referenced by ilDclTable\getNewTableviewOrder().

418  : int
419  {
420  return self::where(['table_id' => $table_id])->orderBy('tableview_order')->count();
421  }
+ Here is the caller graph for this function:

◆ getDescription()

ilDclTableView::getDescription ( )

Definition at line 132 of file class.ilDclTableView.php.

References $description.

Referenced by cloneStructure().

132  : string
133  {
134  return $this->description;
135  }
+ Here is the caller graph for this function:

◆ getFieldSetting()

ilDclTableView::getFieldSetting (   $field_id)
Parameters
$field_id
Returns
ilDclTableViewFieldSetting|ActiveRecord

Definition at line 294 of file class.ilDclTableView.php.

References getId(), and ActiveRecord\where().

294  : ActiveRecord
295  {
297  'tableview_id' => $this->getId(),
298  'field' => $field_id
299  ])->first();
300  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static where($where, $operator=null)
+ Here is the call graph for this function:

◆ getFieldSettings()

ilDclTableView::getFieldSettings ( )
Returns
ilDclTableViewFieldSetting[]
Exceptions
arException

Definition at line 270 of file class.ilDclTableView.php.

References ilDclDatatype\getAllDatatype(), getId(), getTableId(), null, and ActiveRecord\where().

Referenced by cloneStructure(), and delete().

270  : array
271  {
273  [
274  'tableview_id' => $this->getId(),
275  'il_dcl_tfield_set.table_id' => $this->getTableId(),
276  ]
277  )->innerjoin('il_dcl_tfield_set', 'field', 'field', [])->orderBy('il_dcl_tfield_set.field_order')->get();
278 
279  $result = [];
280  foreach ($settings as $setting) {
281  $datatype = $setting->getFieldObject()->getDatatypeId();
282  if ($datatype === null || in_array($datatype, array_keys(ilDclDatatype::getAllDatatype()))) {
283  $result[] = $setting;
284  }
285  }
286 
287  return $result;
288  }
static where($where, $operator=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static getAllDatatype(bool $force=false)
Get all possible Datatypes.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFilterableFieldSettings()

ilDclTableView::getFilterableFieldSettings ( )

getFilterableFields Returns all fieldsetting-objects of this tableview which have set their filterable to true, including standard fields.

Returns
ilDclBaseFieldModel[]|ilDclTableViewFieldSetting[]

Definition at line 224 of file class.ilDclTableView.php.

References getTableId(), and ActiveRecord\where().

224  : array
225  {
227  [
228  "tableview_id" => $this->id,
229  'in_filter' => 1,
230  'il_dcl_tfield_set.table_id' => $this->getTableId(),
231  ]
232  )->innerjoin('il_dcl_tfield_set', 'field', 'field', [])
233  ->orderBy('il_dcl_tfield_set.field_order')
234  ->get();
235  }
static where($where, $operator=null)
+ Here is the call graph for this function:

◆ getId()

ilDclTableView::getId ( )

Definition at line 92 of file class.ilDclTableView.php.

References $id.

Referenced by cloneStructure(), ilDclTableViewGUI\getActions(), getFieldSetting(), and getFieldSettings().

92  : ?int
93  {
94  return $this->id;
95  }
+ Here is the caller graph for this function:

◆ getOrder()

ilDclTableView::getOrder ( )

Definition at line 122 of file class.ilDclTableView.php.

References $tableview_order.

Referenced by cloneStructure().

122  : int
123  {
124  return $this->tableview_order;
125  }
+ Here is the caller graph for this function:

◆ getRoleLimitation()

ilDclTableView::getRoleLimitation ( )

Definition at line 162 of file class.ilDclTableView.php.

References $role_limitation.

Referenced by cloneStructure(), and ilObjDataCollectionAccess\hasAccessToTableView().

162  : bool
163  {
164  return $this->role_limitation;
165  }
+ Here is the caller graph for this function:

◆ getRoles()

ilDclTableView::getRoles ( )

Definition at line 152 of file class.ilDclTableView.php.

References $roles.

Referenced by cloneStructure(), and ilObjDataCollectionAccess\hasAccessToTableView().

152  : array
153  {
154  return $this->roles;
155  }
+ Here is the caller graph for this function:

◆ getTable()

ilDclTableView::getTable ( )

Definition at line 206 of file class.ilDclTableView.php.

References ilDclCache\getTableCache().

206  : ilDclTable
207  {
208  return ilDclCache::getTableCache($this->table_id);
209  }
static getTableCache(?int $table_id=null)
+ Here is the call graph for this function:

◆ getTableId()

ilDclTableView::getTableId ( )

Definition at line 102 of file class.ilDclTableView.php.

References $table_id.

Referenced by getFieldSettings(), getFilterableFieldSettings(), and getVisibleFields().

102  : int
103  {
104  return $this->table_id;
105  }
+ Here is the caller graph for this function:

◆ getTableviewOrder()

ilDclTableView::getTableviewOrder ( )

Definition at line 142 of file class.ilDclTableView.php.

References $tableview_order.

142  : int
143  {
144  return $this->tableview_order;
145  }

◆ getTitle()

ilDclTableView::getTitle ( )

Definition at line 112 of file class.ilDclTableView.php.

References $title.

Referenced by cloneStructure().

112  : string
113  {
114  return $this->title;
115  }
+ Here is the caller graph for this function:

◆ getVisibleFields()

ilDclTableView::getVisibleFields ( )

Returns all field-objects of this tableview which have set their visibility to true, including standard fields.

Returns
ilDclBaseFieldModel[]|ilDclTableViewFieldSetting[]

Definition at line 241 of file class.ilDclTableView.php.

References $visible_fields_cache, getTableId(), and ActiveRecord\where().

241  : array
242  {
243  if (!$this->visible_fields_cache) {
245  [
246  "tableview_id" => $this->id,
247  'visible' => true,
248  'il_dcl_tfield_set.table_id' => $this->getTableId(),
249  ]
250  )->innerjoin(
251  'il_dcl_tfield_set',
252  'field',
253  'field',
254  []
255  )->orderBy('il_dcl_tfield_set.field_order')->get();
256  $fields = [];
257  foreach ($visible as $field_rec) {
258  $fields[] = $field_rec->getFieldObject();
259  }
260  $this->visible_fields_cache = $fields;
261  }
262 
264  }
static where($where, $operator=null)
+ Here is the call graph for this function:

◆ returnDbTableName()

static ilDclTableView::returnDbTableName ( )
static
Returns
string Return the Name of your Database Table

Definition at line 87 of file class.ilDclTableView.php.

87  : string
88  {
89  return "il_dcl_tableview";
90  }

◆ setDescription()

ilDclTableView::setDescription ( string  $description)

Definition at line 137 of file class.ilDclTableView.php.

References $description.

Referenced by cloneStructure().

137  : void
138  {
139  $this->description = $description;
140  }
+ Here is the caller graph for this function:

◆ setId()

ilDclTableView::setId ( int  $id)

Definition at line 97 of file class.ilDclTableView.php.

References $id.

97  : void
98  {
99  $this->id = $id;
100  }

◆ setOrder()

ilDclTableView::setOrder ( int  $order)

Definition at line 127 of file class.ilDclTableView.php.

Referenced by cloneStructure().

127  : void
128  {
129  $this->tableview_order = $order;
130  }
+ Here is the caller graph for this function:

◆ setRoleLimitation()

ilDclTableView::setRoleLimitation ( bool  $role_limitation)

Definition at line 167 of file class.ilDclTableView.php.

References $role_limitation.

Referenced by cloneStructure().

167  : void
168  {
169  $this->role_limitation = $role_limitation;
170  }
+ Here is the caller graph for this function:

◆ setRoles()

ilDclTableView::setRoles ( array  $roles)

Definition at line 157 of file class.ilDclTableView.php.

References $roles.

Referenced by cloneStructure().

157  : void
158  {
159  $this->roles = $roles;
160  }
+ Here is the caller graph for this function:

◆ setTableId()

ilDclTableView::setTableId ( int  $table_id)

Definition at line 107 of file class.ilDclTableView.php.

References $table_id.

107  : void
108  {
109  $this->table_id = $table_id;
110  }

◆ setTableviewOrder()

ilDclTableView::setTableviewOrder ( int  $tableview_order)

Definition at line 147 of file class.ilDclTableView.php.

References $tableview_order.

147  : void
148  {
149  $this->tableview_order = $tableview_order;
150  }

◆ setTitle()

ilDclTableView::setTitle ( string  $title)

Definition at line 117 of file class.ilDclTableView.php.

References $title.

Referenced by cloneStructure().

117  : void
118  {
119  $this->title = $title;
120  }
+ Here is the caller graph for this function:

◆ sleep()

ilDclTableView::sleep (   $field_name)
Parameters
string$field_name

Definition at line 175 of file class.ilDclTableView.php.

References null.

175  : ?string
176  {
177  if ($field_name == 'roles') {
178  return json_encode($this->roles);
179  }
180 
181  return null;
182  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ wakeUp()

ilDclTableView::wakeUp (   $field_name,
  $field_value 
)
Parameters
string$field_name
int | string$field_value

Definition at line 188 of file class.ilDclTableView.php.

References null.

188  : ?array
189  {
190  if ($field_name == 'roles') {
191  return json_decode($field_value);
192  }
193 
194  return null;
195  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

Field Documentation

◆ $description

string ilDclTableView::$description = ''
protected

Definition at line 70 of file class.ilDclTableView.php.

Referenced by getDescription(), and setDescription().

◆ $id

int ilDclTableView::$id
protected

Definition at line 33 of file class.ilDclTableView.php.

Referenced by getId(), and setId().

◆ $role_limitation

bool ilDclTableView::$role_limitation = false
protected

Definition at line 63 of file class.ilDclTableView.php.

Referenced by getRoleLimitation(), and setRoleLimitation().

◆ $roles

array ilDclTableView::$roles = []
protected

Definition at line 56 of file class.ilDclTableView.php.

Referenced by getRoles(), and setRoles().

◆ $table_id

int ilDclTableView::$table_id = 0
protected

Definition at line 41 of file class.ilDclTableView.php.

Referenced by getTableId(), and setTableId().

◆ $tableview_order

int ilDclTableView::$tableview_order = 0
protected

Definition at line 77 of file class.ilDclTableView.php.

Referenced by getOrder(), getTableviewOrder(), and setTableviewOrder().

◆ $title

string ilDclTableView::$title = ""
protected

Definition at line 49 of file class.ilDclTableView.php.

Referenced by getTitle(), and setTitle().

◆ $visible_fields_cache

array ilDclTableView::$visible_fields_cache = []
protected

Definition at line 81 of file class.ilDclTableView.php.

Referenced by getVisibleFields().


The documentation for this class was generated from the following file: