|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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) | |
| 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, $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, $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
| static | innerjoin ( $tablename, $on_this, $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
| static | leftjoin ( $tablename, $on_this, $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, $values=null) |
| static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Protected Attributes | |
| int | $id |
| int | $table_id = 0 |
| string | $title = "" |
| array | $roles = [] |
| 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) |
Definition at line 21 of file class.ilDclTableView.php.
| ilDclTableView::cloneStructure | ( | ilDclTableView | $orig, |
| array | $new_fields | ||
| ) |
| ilDclTableView | $orig | |
| array | $new_fields | fields mapping |
Definition at line 343 of file class.ilDclTableView.php.
References $DIC, Vendor\Package\$f, ilPageObject\copy(), ActiveRecord\create(), createFieldSetting(), ilDclDetailedViewDefinition\exists(), getDescription(), getFieldSettings(), getId(), getOrder(), getRoles(), getTitle(), ilDclCache\setCloneOf(), setDescription(), setOrder(), setRoles(), setTitle(), and ilDclCache\TYPE_TABLEVIEW.
Here is the call graph for this function:| ilDclTableView::create | ( | bool | $create_default_settings = true | ) |
Definition at line 285 of file class.ilDclTableView.php.
References createDefaultSettings().
Here is the call graph for this function:| ilDclTableView::createDefaultSettings | ( | ) |
create default ilDclTableViewFieldSetting entries
Definition at line 296 of file class.ilDclTableView.php.
References createFieldSetting(), and ilDclCache\getTableCache().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTableView::createFieldSetting | ( | $field_id | ) |
create ilDclTableViewFieldSetting for this tableview and the given field id
| int | string | $field_id |
Definition at line 315 of file class.ilDclTableView.php.
References ilDclStandardField\_isStandardField(), and ActiveRecord\where().
Referenced by cloneStructure(), and createDefaultSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $table_id |
Definition at line 409 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTableView::delete | ( | ) |
Definition at line 180 of file class.ilDclTableView.php.
References getFieldSettings().
Here is the call graph for this function:
|
static |
Definition at line 197 of file class.ilDclTableView.php.
Referenced by ilDclCreateViewDefinitionGUI\__construct(), ilDclEditViewDefinitionGUI\__construct(), ilDclRecordEditGUI\__construct(), and ilDclTableViewGUI\executeCommand().
Here is the caller graph for this function:
|
static |
Definition at line 395 of file class.ilDclTableView.php.
Referenced by ilDclBaseFieldModel\addToTableViews(), and ilDclTable\getTableViews().
Here is the caller graph for this function:
|
static |
Definition at line 400 of file class.ilDclTableView.php.
Referenced by ilDclTable\getNewTableviewOrder().
Here is the caller graph for this function:| ilDclTableView::getDescription | ( | ) |
Definition at line 125 of file class.ilDclTableView.php.
References $description.
Referenced by cloneStructure(), and ilDclTableViewTableGUI\fillRowFromObject().
Here is the caller graph for this function:| ilDclTableView::getFieldSetting | ( | $field_id | ) |
| $field_id |
Definition at line 277 of file class.ilDclTableView.php.
References getId(), and ActiveRecord\where().
Here is the call graph for this function:| ilDclTableView::getFieldSettings | ( | ) |
| arException |
Definition at line 253 of file class.ilDclTableView.php.
References ILIAS\LTI\ToolProvider\$settings, ilDclDatatype\getAllDatatype(), getId(), getTableId(), and ActiveRecord\where().
Referenced by cloneStructure(), and delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTableView::getFilterableFieldSettings | ( | ) |
getFilterableFields Returns all fieldsetting-objects of this tableview which have set their filterable to true, including standard fields.
Definition at line 207 of file class.ilDclTableView.php.
References getTableId(), and ActiveRecord\where().
Here is the call graph for this function:| ilDclTableView::getId | ( | ) |
Definition at line 85 of file class.ilDclTableView.php.
References $id.
Referenced by cloneStructure(), ilDclTableViewTableGUI\fillRowFromObject(), getFieldSetting(), and getFieldSettings().
Here is the caller graph for this function:| ilDclTableView::getOrder | ( | ) |
Definition at line 115 of file class.ilDclTableView.php.
References $tableview_order.
Referenced by cloneStructure(), and ilDclTableViewTableGUI\fillRowFromObject().
Here is the caller graph for this function:| ilDclTableView::getRoles | ( | ) |
Definition at line 145 of file class.ilDclTableView.php.
References $roles.
Referenced by cloneStructure(), and ilObjDataCollectionAccess\hasAccessToTableView().
Here is the caller graph for this function:| ilDclTableView::getTable | ( | ) |
Definition at line 189 of file class.ilDclTableView.php.
References ilDclCache\getTableCache().
Here is the call graph for this function:| ilDclTableView::getTableId | ( | ) |
Definition at line 95 of file class.ilDclTableView.php.
References $table_id.
Referenced by getFieldSettings(), getFilterableFieldSettings(), and getVisibleFields().
Here is the caller graph for this function:| ilDclTableView::getTableviewOrder | ( | ) |
| ilDclTableView::getTitle | ( | ) |
Definition at line 105 of file class.ilDclTableView.php.
References $title.
Referenced by cloneStructure(), and ilDclTableViewTableGUI\fillRowFromObject().
Here is the caller graph for this function:| ilDclTableView::getVisibleFields | ( | ) |
Returns all field-objects of this tableview which have set their visibility to true, including standard fields.
Definition at line 224 of file class.ilDclTableView.php.
References $visible_fields_cache, getTableId(), and ActiveRecord\where().
Here is the call graph for this function:
|
static |
Definition at line 80 of file class.ilDclTableView.php.
| ilDclTableView::setDescription | ( | string | $description | ) |
Definition at line 130 of file class.ilDclTableView.php.
References $description.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setId | ( | int | $id | ) |
| ilDclTableView::setOrder | ( | int | $order | ) |
Definition at line 120 of file class.ilDclTableView.php.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setRoles | ( | array | $roles | ) |
Definition at line 150 of file class.ilDclTableView.php.
References $roles.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setTableId | ( | int | $table_id | ) |
| ilDclTableView::setTableviewOrder | ( | int | $tableview_order | ) |
| ilDclTableView::setTitle | ( | string | $title | ) |
Definition at line 110 of file class.ilDclTableView.php.
References $title.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::sleep | ( | $field_name | ) |
| string | $field_name |
Definition at line 158 of file class.ilDclTableView.php.
| ilDclTableView::wakeUp | ( | $field_name, | |
| $field_value | |||
| ) |
| string | $field_name | |
| int | string | $field_value |
Definition at line 171 of file class.ilDclTableView.php.
|
protected |
Definition at line 63 of file class.ilDclTableView.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 33 of file class.ilDclTableView.php.
|
protected |
Definition at line 56 of file class.ilDclTableView.php.
Referenced by getRoles(), and setRoles().
|
protected |
Definition at line 41 of file class.ilDclTableView.php.
Referenced by getTableId(), and setTableId().
|
protected |
Definition at line 70 of file class.ilDclTableView.php.
Referenced by getOrder(), getTableviewOrder(), and setTableviewOrder().
|
protected |
Definition at line 49 of file class.ilDclTableView.php.
Referenced by getTitle(), and setTitle().
|
protected |
Definition at line 74 of file class.ilDclTableView.php.
Referenced by getVisibleFields().