ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMMItemTranslationStorage. More...
Static Public Member Functions | |
static | storeTranslation (IdentificationInterface $identification, string $language_key, string $translation) |
static | storeDefaultTranslation (IdentificationInterface $identification, string $translation) |
static | hasDefaultTranslation (IdentificationInterface $identification) |
static | getDefaultLanguage () |
![]() | |
static | find ($primary_key, array $add_constructor_args=array()) |
static | connector (arConnector $connector) |
![]() | |
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 | |
$identification | |
$translation = '' | |
$language_key = '' | |
$connector_container_name = "il_mm_translation" | |
![]() | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Additional Inherited Members | |
![]() | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
![]() | |
serializeToCSV ($field) | |
This method is called for every field of your instance if you use __asCsv. More... | |
installDatabase () | |
![]() | |
static | getCalledClass () |
static | fromCamelCase ($str) |
Class ilMMItemTranslationStorage.
Definition at line 10 of file class.ilMMItemTranslationStorage.php.
ilMMItemTranslationStorage::getCache | ( | ) |
Definition at line 221 of file class.ilMMItemTranslationStorage.php.
References ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().
|
static |
Definition at line 94 of file class.ilMMItemTranslationStorage.php.
References $DIC.
Referenced by ilMMItemInformation\__construct().
ilMMItemTranslationStorage::getId | ( | ) |
ilMMItemTranslationStorage::getIdentification | ( | ) |
Definition at line 167 of file class.ilMMItemTranslationStorage.php.
References $identification.
ilMMItemTranslationStorage::getLanguageKey | ( | ) |
Definition at line 203 of file class.ilMMItemTranslationStorage.php.
References $language_key.
ilMMItemTranslationStorage::getTranslation | ( | ) |
Definition at line 185 of file class.ilMMItemTranslationStorage.php.
References $translation.
|
static |
IdentificationInterface | $identification |
Definition at line 82 of file class.ilMMItemTranslationStorage.php.
ilMMItemTranslationStorage::setId | ( | string | $id | ) |
string | $id |
Definition at line 158 of file class.ilMMItemTranslationStorage.php.
References $id.
ilMMItemTranslationStorage::setIdentification | ( | string | $identification | ) |
string | $identification |
Definition at line 176 of file class.ilMMItemTranslationStorage.php.
References $identification.
ilMMItemTranslationStorage::setLanguageKey | ( | string | $language_key | ) |
string | $language_key |
Definition at line 212 of file class.ilMMItemTranslationStorage.php.
References $language_key.
ilMMItemTranslationStorage::setTranslation | ( | string | $translation | ) |
string | $translation |
Definition at line 194 of file class.ilMMItemTranslationStorage.php.
References $translation.
|
static |
IdentificationInterface | $identification | |
string | $translation |
Definition at line 48 of file class.ilMMItemTranslationStorage.php.
References $identification, $key, and $lng.
Referenced by ilMMAbstractItemFacade\create(), and ilMMAbstractItemFacade\update().
|
static |
IdentificationInterface | $identification | |
string | $language_key | |
string | $translation |
Definition at line 20 of file class.ilMMItemTranslationStorage.php.
References CachedActiveRecord\find().
Referenced by ilMMItemTranslationGUI\saveLanguages().
|
protected |
Definition at line 143 of file class.ilMMItemTranslationStorage.php.
|
protected |
Definition at line 115 of file class.ilMMItemTranslationStorage.php.
|
protected |
Definition at line 123 of file class.ilMMItemTranslationStorage.php.
Referenced by getIdentification(), setIdentification(), and storeDefaultTranslation().
|
protected |
Definition at line 139 of file class.ilMMItemTranslationStorage.php.
Referenced by getLanguageKey(), and setLanguageKey().
|
protected |
Definition at line 131 of file class.ilMMItemTranslationStorage.php.
Referenced by getTranslation(), and setTranslation().