ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Class ilMMItemTranslationStorage. More...
Public Member Functions | |
getId () | |
setId (string $id) | |
getIdentification () | |
setIdentification (string $identification) | |
getTranslation () | |
setTranslation (string $translation) | |
getLanguageKey () | |
setLanguageKey (string $language_key) | |
![]() | |
getCacheIdentifier () | |
getTTL () | |
__construct (mixed $primary_key=0, ?arConnector $arConnector=null) | |
afterObjectLoad () | |
create () | |
read () | |
update () | |
delete () | |
![]() | |
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, string $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 | storeTranslation (IdentificationInterface $identification, string $language_key, string $translation) |
static | storeDefaultTranslation (IdentificationInterface $identification, string $translation) |
static | hasDefaultTranslation (IdentificationInterface $identification) |
static | getDefaultLanguage () |
![]() | |
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, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | innerjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | leftjoin (string $tablename, $on_this, string $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, string|array|null $values=null) |
static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Protected Attributes | |
string | $id = null |
true true true text 64 More... | |
string | $identification = '' |
true text 256 More... | |
string | $translation = '' |
true text 4000 More... | |
string | $language_key = '' |
true text 8 More... | |
string | $connector_container_name = "il_mm_translation" |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
Additional Inherited Members | |
![]() | |
installDatabase () | |
![]() | |
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) |
Class ilMMItemTranslationStorage.
Definition at line 27 of file class.ilMMItemTranslationStorage.php.
|
static |
Definition at line 102 of file class.ilMMItemTranslationStorage.php.
References $DIC.
Referenced by ilMMItemInformation\__construct().
ilMMItemTranslationStorage::getId | ( | ) |
Definition at line 147 of file class.ilMMItemTranslationStorage.php.
References $id.
ilMMItemTranslationStorage::getIdentification | ( | ) |
Definition at line 163 of file class.ilMMItemTranslationStorage.php.
References $identification.
ilMMItemTranslationStorage::getLanguageKey | ( | ) |
Definition at line 195 of file class.ilMMItemTranslationStorage.php.
References $language_key.
ilMMItemTranslationStorage::getTranslation | ( | ) |
Definition at line 179 of file class.ilMMItemTranslationStorage.php.
References $translation.
|
static |
IdentificationInterface | $identification |
Definition at line 91 of file class.ilMMItemTranslationStorage.php.
References $lng.
ilMMItemTranslationStorage::setId | ( | string | $id | ) |
string | $id |
Definition at line 155 of file class.ilMMItemTranslationStorage.php.
References $id.
ilMMItemTranslationStorage::setIdentification | ( | string | $identification | ) |
string | $identification |
Definition at line 171 of file class.ilMMItemTranslationStorage.php.
References $identification.
ilMMItemTranslationStorage::setLanguageKey | ( | string | $language_key | ) |
string | $language_key |
Definition at line 203 of file class.ilMMItemTranslationStorage.php.
References $language_key.
ilMMItemTranslationStorage::setTranslation | ( | string | $translation | ) |
string | $translation |
Definition at line 187 of file class.ilMMItemTranslationStorage.php.
References $translation.
|
static |
IdentificationInterface | $identification | |
string | $translation |
Definition at line 61 of file class.ilMMItemTranslationStorage.php.
References $identification, $lng, and null.
Referenced by ilMMAbstractItemFacade\create(), and ilMMAbstractItemFacade\update().
|
static |
IdentificationInterface | $identification | |
string | $language_key | |
string | $translation |
Definition at line 35 of file class.ilMMItemTranslationStorage.php.
Referenced by ilMMItemTranslationGUI\saveLanguages().
|
protected |
Definition at line 142 of file class.ilMMItemTranslationStorage.php.
|
protected |
true true true text 64
Definition at line 120 of file class.ilMMItemTranslationStorage.php.
|
protected |
true text 256
Definition at line 126 of file class.ilMMItemTranslationStorage.php.
Referenced by getIdentification(), setIdentification(), and storeDefaultTranslation().
|
protected |
true text 8
Definition at line 138 of file class.ilMMItemTranslationStorage.php.
Referenced by getLanguageKey(), and setLanguageKey().
|
protected |
true text 4000
Definition at line 132 of file class.ilMMItemTranslationStorage.php.
Referenced by getTranslation(), and setTranslation().