ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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) | |
isStepVs () | |
setStepVs (bool $step_vs) | |
isStepC () | |
setStepC (bool $step_c) | |
isStepE () | |
setStepE (bool $step_e) | |
isStepO () | |
setStepO (bool $step_o) | |
isStepS () | |
setStepS (bool $step_s) | |
getRoles () | |
setRoles (array $roles) | |
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) | |
validateConfigCompletion () | |
Check if the configuration of the view is complete. More... | |
![]() | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
Return the Name of your Connector Table More... | |
setConnectorContainerName (string $connector_container_name) | |
getPrimaryFieldValue () | |
setPrimaryFieldValue ($value) | |
__construct ($primary_key=0) | |
storeObjectToCache () | |
asStdClass () | |
buildFromArray (array $array) | |
fixDateField ($field_name, $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=array()) |
static | getAllForTableId (int $table_id) |
static | getCountForTableId (int $table_id) |
static | createOrGetStandardView (int $table_id, bool $create_default_settings=true) |
![]() | |
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=array()) |
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=array()) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, array $fields=array(' *'), string $operator='=', $both_external=false) |
static | innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
static | leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
static | orderBy ($orderBy, string $orderDirection='ASC') |
static | dateFormat (string $date_format='d.m.Y - H:i:s') |
static | limit ($start, $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $connector) |
static | raw (bool $set_raw=true) |
static | getArray (?string $key=null, $values=null) |
static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Protected Attributes | |
int | $id |
int | $table_id = 0 |
string | $title = "" |
array | $roles = array() |
string | $description = '' |
int | $tableview_order = 0 |
bool | $step_vs = false |
bool | $step_c = false |
bool | $step_e = false |
bool | $step_o = false |
bool | $step_s = false |
array | $visible_fields_cache = [] |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
Additional Inherited Members | |
![]() | |
installDatabase () | |
![]() | |
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) |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilDclTableView.php.
ilDclTableView::cloneStructure | ( | ilDclTableView | $orig, |
array | $new_fields | ||
) |
ilDclTableView | $orig | |
array | $new_fields | fields mapping |
Definition at line 428 of file class.ilDclTableView.php.
References $DIC, Vendor\Package\$f, ilPageObject\copy(), ActiveRecord\create(), ilDclDetailedViewDefinition\exists(), getDescription(), getFieldSettings(), getId(), getOrder(), getRoles(), getTitle(), isStepC(), isStepE(), isStepO(), isStepS(), isStepVs(), ilDclCache\setCloneOf(), setDescription(), setOrder(), setRoles(), setStepC(), setStepE(), setStepO(), setStepS(), setStepVs(), setTitle(), and ilDclCache\TYPE_TABLEVIEW.
ilDclTableView::create | ( | bool | $create_default_settings = true | ) |
Definition at line 370 of file class.ilDclTableView.php.
References createDefaultSettings().
ilDclTableView::createDefaultSettings | ( | ) |
create default ilDclTableViewFieldSetting entries
Definition at line 381 of file class.ilDclTableView.php.
References createFieldSetting(), and ilDclCache\getTableCache().
Referenced by create().
ilDclTableView::createFieldSetting | ( | $field_id | ) |
create ilDclTableViewFieldSetting for this tableview and the given field id
int | string | $field_id |
Definition at line 400 of file class.ilDclTableView.php.
References ilDclStandardField\_isStandardField(), and ActiveRecord\where().
Referenced by createDefaultSettings().
|
static |
$table_id | ||
bool | $create_default_settings |
Definition at line 499 of file class.ilDclTableView.php.
References $DIC, $http, $lng, $ref_id, ILIAS\Repository\$refinery, ActiveRecord\first(), and ActiveRecord\orderBy().
Referenced by ilDclTable\doCreate(), and ilDataCollectionDataSet\getXmlNamespace().
ilDclTableView::delete | ( | ) |
Definition at line 263 of file class.ilDclTableView.php.
References getFieldSettings().
|
static |
Definition at line 280 of file class.ilDclTableView.php.
Referenced by ilDclEditViewDefinitionGUI\__construct(), ilDclCreateViewDefinitionGUI\__construct(), ilDclRecordEditGUI\__construct(), and ilDclTableViewGUI\executeCommand().
|
static |
Definition at line 484 of file class.ilDclTableView.php.
Referenced by ilDclBaseFieldModel\addToTableViews(), and ilDclTable\getTableViews().
|
static |
Definition at line 489 of file class.ilDclTableView.php.
Referenced by ilDclTable\getNewTableviewOrder().
ilDclTableView::getDescription | ( | ) |
Definition at line 158 of file class.ilDclTableView.php.
References $description.
Referenced by cloneStructure(), and ilDclTableViewTableGUI\fillRowFromObject().
ilDclTableView::getFieldSetting | ( | $field_id | ) |
$field_id |
Definition at line 362 of file class.ilDclTableView.php.
References getId(), and ActiveRecord\where().
ilDclTableView::getFieldSettings | ( | ) |
arException |
Definition at line 336 of file class.ilDclTableView.php.
References ILIAS\LTI\ToolProvider\$settings, ilDclDatatype\getAllDatatype(), getId(), getTableId(), and ActiveRecord\where().
Referenced by cloneStructure(), and delete().
ilDclTableView::getFilterableFieldSettings | ( | ) |
getFilterableFields Returns all fieldsetting-objects of this tableview which have set their filterable to true, including standard fields.
Definition at line 290 of file class.ilDclTableView.php.
References getTableId(), and ActiveRecord\where().
ilDclTableView::getId | ( | ) |
Definition at line 118 of file class.ilDclTableView.php.
References $id.
Referenced by cloneStructure(), ilDclTableViewTableGUI\fillRowFromObject(), getFieldSetting(), and getFieldSettings().
ilDclTableView::getOrder | ( | ) |
Definition at line 148 of file class.ilDclTableView.php.
References $tableview_order.
Referenced by cloneStructure(), and ilDclTableViewTableGUI\fillRowFromObject().
ilDclTableView::getRoles | ( | ) |
Definition at line 228 of file class.ilDclTableView.php.
References $roles.
Referenced by cloneStructure().
ilDclTableView::getTable | ( | ) |
Definition at line 272 of file class.ilDclTableView.php.
References ilDclCache\getTableCache().
ilDclTableView::getTableId | ( | ) |
Definition at line 128 of file class.ilDclTableView.php.
References $table_id.
Referenced by getFieldSettings(), getFilterableFieldSettings(), and getVisibleFields().
ilDclTableView::getTableviewOrder | ( | ) |
ilDclTableView::getTitle | ( | ) |
Definition at line 138 of file class.ilDclTableView.php.
References $title.
Referenced by cloneStructure(), and ilDclTableViewTableGUI\fillRowFromObject().
ilDclTableView::getVisibleFields | ( | ) |
Returns all field-objects of this tableview which have set their visibility to true, including standard fields.
Definition at line 307 of file class.ilDclTableView.php.
References $visible_fields_cache, getTableId(), and ActiveRecord\where().
ilDclTableView::isStepC | ( | ) |
Definition at line 188 of file class.ilDclTableView.php.
References $step_c.
Referenced by cloneStructure().
ilDclTableView::isStepE | ( | ) |
Definition at line 198 of file class.ilDclTableView.php.
References $step_e.
Referenced by cloneStructure().
ilDclTableView::isStepO | ( | ) |
Definition at line 208 of file class.ilDclTableView.php.
References $step_o.
Referenced by cloneStructure().
ilDclTableView::isStepS | ( | ) |
Definition at line 218 of file class.ilDclTableView.php.
References $step_s.
Referenced by cloneStructure().
ilDclTableView::isStepVs | ( | ) |
Definition at line 178 of file class.ilDclTableView.php.
References $step_vs.
Referenced by cloneStructure().
|
static |
Definition at line 113 of file class.ilDclTableView.php.
ilDclTableView::setDescription | ( | string | $description | ) |
Definition at line 163 of file class.ilDclTableView.php.
References $description.
Referenced by cloneStructure().
ilDclTableView::setId | ( | int | $id | ) |
ilDclTableView::setOrder | ( | int | $order | ) |
Definition at line 153 of file class.ilDclTableView.php.
Referenced by cloneStructure().
ilDclTableView::setRoles | ( | array | $roles | ) |
Definition at line 233 of file class.ilDclTableView.php.
References $roles.
Referenced by cloneStructure().
ilDclTableView::setStepC | ( | bool | $step_c | ) |
Definition at line 193 of file class.ilDclTableView.php.
References $step_c.
Referenced by cloneStructure().
ilDclTableView::setStepE | ( | bool | $step_e | ) |
Definition at line 203 of file class.ilDclTableView.php.
References $step_e.
Referenced by cloneStructure().
ilDclTableView::setStepO | ( | bool | $step_o | ) |
Definition at line 213 of file class.ilDclTableView.php.
References $step_o.
Referenced by cloneStructure().
ilDclTableView::setStepS | ( | bool | $step_s | ) |
Definition at line 223 of file class.ilDclTableView.php.
References $step_s.
Referenced by cloneStructure().
ilDclTableView::setStepVs | ( | bool | $step_vs | ) |
Definition at line 183 of file class.ilDclTableView.php.
References $step_vs.
Referenced by cloneStructure().
ilDclTableView::setTableId | ( | int | $table_id | ) |
ilDclTableView::setTableviewOrder | ( | int | $tableview_order | ) |
ilDclTableView::setTitle | ( | string | $title | ) |
Definition at line 143 of file class.ilDclTableView.php.
References $title.
Referenced by cloneStructure().
ilDclTableView::sleep | ( | $field_name | ) |
string | $field_name |
Definition at line 241 of file class.ilDclTableView.php.
ilDclTableView::validateConfigCompletion | ( | ) |
Check if the configuration of the view is complete.
The step "single" is optional and therefore omitted.
Definition at line 552 of file class.ilDclTableView.php.
References $step_o.
Referenced by ilDclTableViewTableGUI\fillRowFromObject().
ilDclTableView::wakeUp | ( | $field_name, | |
$field_value | |||
) |
string | $field_name | |
int | string | $field_value |
Definition at line 254 of file class.ilDclTableView.php.
|
protected |
Definition at line 61 of file class.ilDclTableView.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 31 of file class.ilDclTableView.php.
|
protected |
Definition at line 54 of file class.ilDclTableView.php.
Referenced by getRoles(), and setRoles().
|
protected |
Definition at line 82 of file class.ilDclTableView.php.
Referenced by isStepC(), and setStepC().
|
protected |
Definition at line 89 of file class.ilDclTableView.php.
Referenced by isStepE(), and setStepE().
|
protected |
Definition at line 96 of file class.ilDclTableView.php.
Referenced by isStepO(), setStepO(), and validateConfigCompletion().
|
protected |
Definition at line 103 of file class.ilDclTableView.php.
Referenced by isStepS(), and setStepS().
|
protected |
Definition at line 75 of file class.ilDclTableView.php.
Referenced by isStepVs(), and setStepVs().
|
protected |
Definition at line 39 of file class.ilDclTableView.php.
Referenced by getTableId(), and setTableId().
|
protected |
Definition at line 68 of file class.ilDclTableView.php.
Referenced by getOrder(), getTableviewOrder(), and setTableviewOrder().
|
protected |
Definition at line 47 of file class.ilDclTableView.php.
Referenced by getTitle(), and setTitle().
|
protected |
Definition at line 107 of file class.ilDclTableView.php.
Referenced by getVisibleFields().