|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilADTLocalizedTextDBBridge. More...
Inheritance diagram for ilADTLocalizedTextDBBridge:
Collaboration diagram for ilADTLocalizedTextDBBridge:Public Member Functions | |
| getTable () | |
| Get table name. More... | |
| __construct (ilADT $a_adt) | |
| Constructor. More... | |
| readRecord (array $a_row) | |
| @inheritDoc More... | |
| prepareInsert (array &$a_fields) | |
| @inheritDoc More... | |
| afterInsert () | |
| After insert hook to enable sub-tables. More... | |
| afterUpdate () | |
| After update hook to enable sub-tables. More... | |
Public Member Functions inherited from ilADTDBBridge | |
| __construct (ilADT $a_adt) | |
| Constructor. More... | |
| getADT () | |
| Get ADT. More... | |
| setTable ($a_table) | |
| Set table name. More... | |
| getTable () | |
| Get table name. More... | |
| setElementId ($a_value) | |
| Set element id (aka DB column[s] [prefix]) More... | |
| getElementId () | |
| Get element id. More... | |
| setPrimary (array $a_value) | |
| Set primary fields (in MDB2 format) More... | |
| getPrimary () | |
| Get primary fields. More... | |
| buildPrimaryWhere () | |
| Convert primary keys array to sql string. More... | |
| readRecord (array $a_row) | |
| Import DB values to ADT. More... | |
| prepareInsert (array &$a_fields) | |
| Prepare ADT values for insert. More... | |
| afterInsert () | |
| After insert hook to enable sub-tables. More... | |
| prepareUpdate (array &$a_fields) | |
| Prepare ADT values for update. More... | |
| afterUpdate () | |
| After update hook to enable sub-tables. More... | |
| afterDelete () | |
| After delete hook to enable sub-tables. More... | |
| supportsDefaultValueColumn () | |
| true if table storage relies on the default 'value' column More... | |
Protected Member Functions | |
| isValidADT (ilADT $adt) | |
| @inheritDoc More... | |
| deleteTranslations () | |
| delete translations More... | |
| insertTranslations () | |
| Save all translations. More... | |
Protected Member Functions inherited from ilADTDBBridge | |
| isValidADT (ilADT $a_adt) | |
| Check if given ADT is valid. More... | |
| setADT (ilADT $a_adt) | |
| Set ADT. More... | |
Private Attributes | |
| $db | |
Additional Inherited Members | |
Protected Attributes inherited from ilADTDBBridge | |
| $adt | |
| $table | |
| $id | |
| $primary = [] | |
Class ilADTLocalizedTextDBBridge.
Definition at line 8 of file class.ilADTLocalizedTextDBBridge.php.
| ilADTLocalizedTextDBBridge::__construct | ( | ilADT | $a_adt | ) |
Constructor.
| ilADT | $a_adt |
Reimplemented from ilADTDBBridge.
Definition at line 21 of file class.ilADTLocalizedTextDBBridge.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilADTLocalizedTextDBBridge::afterInsert | ( | ) |
After insert hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 70 of file class.ilADTLocalizedTextDBBridge.php.
References afterUpdate().
Here is the call graph for this function:| ilADTLocalizedTextDBBridge::afterUpdate | ( | ) |
After update hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 78 of file class.ilADTLocalizedTextDBBridge.php.
References deleteTranslations(), ilADTDBBridge\getADT(), and insertTranslations().
Referenced by afterInsert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
delete translations
Definition at line 91 of file class.ilADTLocalizedTextDBBridge.php.
References ilADTDBBridge\buildPrimaryWhere(), getTable(), and ilDBConstants\T_TEXT.
Referenced by afterUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADTLocalizedTextDBBridge::getTable | ( | ) |
Get table name.
Reimplemented from ilADTDBBridge.
Definition at line 10 of file class.ilADTLocalizedTextDBBridge.php.
Referenced by deleteTranslations(), and insertTranslations().
Here is the caller graph for this function:
|
protected |
Save all translations.
Definition at line 103 of file class.ilADTLocalizedTextDBBridge.php.
References ilADTDBBridge\getADT(), ilADTDBBridge\getPrimary(), getTable(), and ilDBConstants\T_TEXT.
Referenced by afterUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
@inheritDoc
Reimplemented from ilADTDBBridge.
Definition at line 32 of file class.ilADTLocalizedTextDBBridge.php.
References ilADTDBBridge\$adt.
| ilADTLocalizedTextDBBridge::prepareInsert | ( | array & | $a_fields | ) |
@inheritDoc
Reimplemented from ilADTDBBridge.
Definition at line 62 of file class.ilADTLocalizedTextDBBridge.php.
References ilADTDBBridge\getADT(), ilADTDBBridge\getElementId(), and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilADTLocalizedTextDBBridge::readRecord | ( | array | $a_row | ) |
@inheritDoc
Reimplemented from ilADTDBBridge.
Definition at line 40 of file class.ilADTLocalizedTextDBBridge.php.
References ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
Here is the call graph for this function:
|
private |
Definition at line 18 of file class.ilADTLocalizedTextDBBridge.php.