|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilDclTableView. More...
Inheritance diagram for ilDclTableView:
Collaboration diagram for ilDclTableView:Public Member Functions | |
| getId () | |
| setId ($id) | |
| getTableId () | |
| setTableId ($table_id) | |
| getTitle () | |
| setTitle ($title) | |
| getOrder () | |
| setOrder ($order) | |
| getDescription () | |
| setDescription ($description) | |
| getTableviewOrder () | |
| setTableviewOrder ($tableview_order) | |
| isStepVs () | |
| setStepVs ($step_vs) | |
| isStepC () | |
| setStepC ($step_c) | |
| isStepE () | |
| setStepE ($step_e) | |
| isStepO () | |
| setStepO ($step_o) | |
| isStepS () | |
| setStepS ($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 ($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... | |
Public Member Functions inherited from ActiveRecord | |
| getArConnector () | |
| getArFieldList () | |
| getConnectorContainerName () | |
| setConnectorContainerName ($connector_container_name) | |
| getPrimaryFieldValue () | |
| setPrimaryFieldValue ($value) | |
| __construct ($primary_key=0, arConnector $connector=null) | |
| storeObjectToCache () | |
| __getConvertedDateFieldsAsArray ($format=null) | |
| __asCsv ($separator=';', $header=false) | |
| __asArray () | |
| __asStdClass () | |
| __asSerializedObject () | |
| buildFromArray (array $array) | |
| fixDateField ($field_name, $value) | |
| sleep ($field_name) | |
| wakeUp ($field_name, $field_value) | |
| getArrayForDb () | |
| getArrayForConnector () | |
| installConnector () | |
| store () | |
| save () | |
| create () | |
| copy ($new_id=0) | |
| afterObjectLoad () | |
| read () | |
| update () | |
| delete () | |
| __call ($name, $arguments) | |
Static Public Member Functions | |
| static | returnDbTableName () |
| static | getAllForTableId ($table_id) |
| static | getCountForTableId ($table_id) |
| static | createOrGetStandardView ($table_id, $create_default_settings=true) |
Static Public Member Functions inherited from ActiveRecord | |
| static | returnDbTableName () |
| static | installDB () |
| static | renameDBField ($old_name, $new_name) |
| static | tableExists () |
| static | fieldExists ($field_name) |
| static | removeDBField ($field_name) |
| static | updateDB () |
| static | resetDB () |
| static | truncateDB () |
| static | flushDB () |
| 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, $fields=array(' *'), $operator='=', $both_external=false) |
| static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
| static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
| static | orderBy ($orderBy, $orderDirection='ASC') |
| static | dateFormat ($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 ($set_raw=true) |
| static | getArray ($key=null, $values=null) |
| static | _toCamelCase ($str, $capitalise_first_char=false) |
Protected Attributes | |
| $id | |
| $table_id | |
| $title | |
| $roles = array() | |
| $description | |
| $tableview_order | |
| $step_vs | |
| $step_c | |
| $step_e | |
| $step_o | |
| $step_s | |
| $visible_fields_cache | |
Protected Attributes inherited from ActiveRecord | |
| $ar_safe_read = true | |
| $connector_container_name = '' | |
Additional Inherited Members | |
Data Fields inherited from ActiveRecord | |
| const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Member Functions inherited from ActiveRecord | |
| serializeToCSV ($field) | |
| This method is called for every field of your instance if you use __asCsv. More... | |
| installDatabase () | |
Static Protected Member Functions inherited from ActiveRecord | |
| static | getCalledClass () |
| static | fromCamelCase ($str) |
Class ilDclTableView.
Definition at line 9 of file class.ilDclTableView.php.
| ilDclTableView::cloneStructure | ( | ilDclTableView | $orig, |
| array | $new_fields | ||
| ) |
| ilDclTableView | $orig | |
| array | $new_fields | fields mapping |
Definition at line 529 of file class.ilDclTableView.php.
References Vendor\Package\$f, ActiveRecord\create(), ilDclDetailedViewDefinition\exists(), ilDclTableViewBaseDefaultValue\findSingle(), 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.
Here is the call graph for this function:| ilDclTableView::create | ( | $create_default_settings = true | ) |
| bool | $create_default_settings |
Definition at line 467 of file class.ilDclTableView.php.
References createDefaultSettings().
Here is the call graph for this function:| ilDclTableView::createDefaultSettings | ( | ) |
create default ilDclTableViewFieldSetting entries
Definition at line 479 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
| $field_id |
Definition at line 500 of file class.ilDclTableView.php.
References ilDclStandardField\_isStandardField(), and ActiveRecord\where().
Referenced by createDefaultSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $table_id | ||
| bool | $create_default_settings |
Definition at line 611 of file class.ilDclTableView.php.
References $_GET, $DIC, $lng, $roles, $table_id, ActiveRecord\first(), and ActiveRecord\orderBy().
Referenced by ilDclTable\doCreate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTableView::delete | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 373 of file class.ilDclTableView.php.
References getFieldSettings().
Here is the call graph for this function:
|
static |
| $table_id |
Definition at line 588 of file class.ilDclTableView.php.
References $table_id, and ActiveRecord\where().
Referenced by ilDclBaseFieldModel\addToTableViews(), ilDclTable\getTableViews(), and ilObjDataCollectionTest\testDefaultTableView().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $table_id |
Definition at line 599 of file class.ilDclTableView.php.
References $table_id, and ActiveRecord\where().
Referenced by ilDclTable\getNewTableviewOrder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclTableView::getDescription | ( | ) |
Definition at line 198 of file class.ilDclTableView.php.
References $description.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::getFieldSetting | ( | $field_id | ) |
| $field_id |
Definition at line 456 of file class.ilDclTableView.php.
References getId(), and ActiveRecord\where().
Here is the call graph for this function:| ilDclTableView::getFieldSettings | ( | ) |
| arException |
Definition at line 442 of file class.ilDclTableView.php.
References 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 398 of file class.ilDclTableView.php.
References getTableId(), and ActiveRecord\where().
Here is the call graph for this function:| ilDclTableView::getId | ( | ) |
Definition at line 126 of file class.ilDclTableView.php.
References $id.
Referenced by cloneStructure(), getFieldSetting(), and getFieldSettings().
Here is the caller graph for this function:| ilDclTableView::getOrder | ( | ) |
Definition at line 180 of file class.ilDclTableView.php.
References $tableview_order.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::getRoles | ( | ) |
Definition at line 324 of file class.ilDclTableView.php.
References $roles.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::getTable | ( | ) |
Definition at line 386 of file class.ilDclTableView.php.
References ilDclCache\getTableCache().
Here is the call graph for this function:| ilDclTableView::getTableId | ( | ) |
Definition at line 144 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 162 of file class.ilDclTableView.php.
References $title.
Referenced by cloneStructure().
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 417 of file class.ilDclTableView.php.
References $visible_fields_cache, getTableId(), and ActiveRecord\where().
Here is the call graph for this function:| ilDclTableView::isStepC | ( | ) |
Definition at line 252 of file class.ilDclTableView.php.
References $step_c.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::isStepE | ( | ) |
Definition at line 270 of file class.ilDclTableView.php.
References $step_e.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::isStepO | ( | ) |
Definition at line 288 of file class.ilDclTableView.php.
References $step_o.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::isStepS | ( | ) |
Definition at line 306 of file class.ilDclTableView.php.
References $step_s.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::isStepVs | ( | ) |
Definition at line 234 of file class.ilDclTableView.php.
References $step_vs.
Referenced by cloneStructure().
Here is the caller graph for this function:
|
static |
Reimplemented from ActiveRecord.
Definition at line 117 of file class.ilDclTableView.php.
| ilDclTableView::setDescription | ( | $description | ) |
| string | $description |
Definition at line 207 of file class.ilDclTableView.php.
References $description.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setId | ( | $id | ) |
| ilDclTableView::setOrder | ( | $order | ) |
| int | $order |
Definition at line 189 of file class.ilDclTableView.php.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setRoles | ( | array | $roles | ) |
| array | $roles |
Definition at line 333 of file class.ilDclTableView.php.
References $roles.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setStepC | ( | $step_c | ) |
| bool | $step_c |
Definition at line 261 of file class.ilDclTableView.php.
References $step_c.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setStepE | ( | $step_e | ) |
| bool | $step_e |
Definition at line 279 of file class.ilDclTableView.php.
References $step_e.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setStepO | ( | $step_o | ) |
| bool | $step_o |
Definition at line 297 of file class.ilDclTableView.php.
References $step_o.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setStepS | ( | $step_s | ) |
| bool | $step_s |
Definition at line 315 of file class.ilDclTableView.php.
References $step_s.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setStepVs | ( | $step_vs | ) |
| bool | $step_vs |
Definition at line 243 of file class.ilDclTableView.php.
References $step_vs.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::setTableId | ( | $table_id | ) |
| int | $table_id |
Definition at line 153 of file class.ilDclTableView.php.
References $table_id.
| ilDclTableView::setTableviewOrder | ( | $tableview_order | ) |
| int | $tableview_order |
Definition at line 225 of file class.ilDclTableView.php.
References $tableview_order.
| ilDclTableView::setTitle | ( | $title | ) |
| string | $title |
Definition at line 171 of file class.ilDclTableView.php.
References $title.
Referenced by cloneStructure().
Here is the caller graph for this function:| ilDclTableView::sleep | ( | $field_name | ) |
| $field_name |
Reimplemented from ActiveRecord.
Definition at line 344 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 657 of file class.ilDclTableView.php.
References $step_o.
| ilDclTableView::wakeUp | ( | $field_name, | |
| $field_value | |||
| ) |
| $field_name | |
| $field_value |
Reimplemented from ActiveRecord.
Definition at line 360 of file class.ilDclTableView.php.
|
protected |
Definition at line 58 of file class.ilDclTableView.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 23 of file class.ilDclTableView.php.
|
protected |
Definition at line 50 of file class.ilDclTableView.php.
Referenced by createOrGetStandardView(), getRoles(), and setRoles().
|
protected |
Definition at line 82 of file class.ilDclTableView.php.
Referenced by isStepC(), and setStepC().
|
protected |
Definition at line 90 of file class.ilDclTableView.php.
Referenced by isStepE(), and setStepE().
|
protected |
Definition at line 98 of file class.ilDclTableView.php.
Referenced by isStepO(), setStepO(), and validateConfigCompletion().
|
protected |
Definition at line 106 of file class.ilDclTableView.php.
Referenced by isStepS(), and setStepS().
|
protected |
Definition at line 74 of file class.ilDclTableView.php.
Referenced by isStepVs(), and setStepVs().
|
protected |
Definition at line 33 of file class.ilDclTableView.php.
Referenced by createOrGetStandardView(), getAllForTableId(), getCountForTableId(), getTableId(), and setTableId().
|
protected |
Definition at line 66 of file class.ilDclTableView.php.
Referenced by getOrder(), getTableviewOrder(), and setTableviewOrder().
|
protected |
Definition at line 42 of file class.ilDclTableView.php.
Referenced by getTitle(), and setTitle().
|
protected |
Definition at line 110 of file class.ilDclTableView.php.
Referenced by getVisibleFields().