|
ILIAS
release_8 Revision v8.24
|
ADT Active Record service wrapper class This class expects a valid primary for all actions! More...
Inheritance diagram for ilADTActiveRecordWrapper:
Collaboration diagram for ilADTActiveRecordWrapper:Public Member Functions | |
| __construct (ilADTGroupActiveRecordBridge $a_properties) | |
| Constructor. More... | |
| getConnectorContainerName () | |
| @description Return the Name of your Connector Table More... | |
| getPrimaryFieldValue () | |
| sleep ($field_name) | |
| wakeUp ($field_name, $field_value) | |
Public Member Functions inherited from ActiveRecord | |
| getArConnector () | |
| getArFieldList () | |
| getConnectorContainerName () | |
| @description 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 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 () |
| @depracated 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 Member Functions | |
| getActiveRecordFieldTypeFromMDB2 (string $a_mdb2_type) | |
| initFieldList () | |
Protected Member Functions inherited from ActiveRecord | |
| installDatabase () | |
Protected Attributes | |
| ilADTGroupActiveRecordBridge | $properties |
| arFieldList | $fields |
| arConnectorDB | $arConnector |
| array | $field_element_map = [] |
Protected Attributes inherited from ActiveRecord | |
| bool | $ar_safe_read = true |
| string | $connector_container_name = '' |
| bool | $is_new = true |
Additional Inherited Members | |
Static Protected Member Functions inherited from ActiveRecord | |
| static | getCalledClass () |
| @description Returns an instance of the instatiated calling active record (needs to be done in static methods) @TODO : This should be cached somehow More... | |
| static | fromCamelCase (string $str) |
ADT Active Record service wrapper class This class expects a valid primary for all actions!
Definition at line 12 of file class.ilADTActiveRecordWrapper.php.
| ilADTActiveRecordWrapper::__construct | ( | ilADTGroupActiveRecordBridge | $a_properties | ) |
Constructor.
| ilADTGroupActiveRecordBridge | $a_properties |
Definition at line 23 of file class.ilADTActiveRecordWrapper.php.
References initFieldList().
Here is the call graph for this function:
|
protected |
Definition at line 30 of file class.ilADTActiveRecordWrapper.php.
References arField\FIELD_TYPE_DATE, arField\FIELD_TYPE_FLOAT, arField\FIELD_TYPE_INTEGER, arField\FIELD_TYPE_TEXT, and arField\FIELD_TYPE_TIMESTAMP.
Referenced by initFieldList().
Here is the caller graph for this function:| ilADTActiveRecordWrapper::getConnectorContainerName | ( | ) |
@description Return the Name of your Connector Table
Reimplemented from ActiveRecord.
Definition at line 81 of file class.ilADTActiveRecordWrapper.php.
| ilADTActiveRecordWrapper::getPrimaryFieldValue | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 91 of file class.ilADTActiveRecordWrapper.php.
|
protected |
Definition at line 52 of file class.ilADTActiveRecordWrapper.php.
References $fields, ActiveRecord\count(), fields, and getActiveRecordFieldTypeFromMDB2().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Reimplemented from ActiveRecord.
Definition at line 86 of file class.ilADTActiveRecordWrapper.php.
| ilADTActiveRecordWrapper::sleep | ( | $field_name | ) |
Reimplemented from ActiveRecord.
Definition at line 101 of file class.ilADTActiveRecordWrapper.php.
| ilADTActiveRecordWrapper::wakeUp | ( | $field_name, | |
| $field_value | |||
| ) |
Reimplemented from ActiveRecord.
Definition at line 114 of file class.ilADTActiveRecordWrapper.php.
|
protected |
Definition at line 16 of file class.ilADTActiveRecordWrapper.php.
|
protected |
Definition at line 17 of file class.ilADTActiveRecordWrapper.php.
|
protected |
Definition at line 15 of file class.ilADTActiveRecordWrapper.php.
Referenced by initFieldList().
|
protected |
Definition at line 14 of file class.ilADTActiveRecordWrapper.php.