| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Class ilAdvancedMDFieldTranslations. More...
 Collaboration diagram for ilAdvancedMDFieldTranslations:Public Member Functions | |
| getRecordId () | |
| getDefaultLanguage () | |
| getActivatedLanguages (int $field_id, bool $with_default=true) | |
| isConfigured (int $field_id, string $lang_key) | |
| getTranslation (int $field_id, string $lang_key) | |
| getTranslations (int $field_id) | |
| getDefaultTranslation (int $field_id) | |
| read () | |
| getFormTranslationInfo (int $field_id, string $active_language) | |
| modifyTranslationInfoForTitle (int $field_id, ilPropertyFormGUI $form, ilTextInputGUI $title, string $active_language) | |
| modifyTranslationInfoForDescription (int $field_id, ilPropertyFormGUI $form, ilTextAreaInputGUI $description, string $active_language) | |
| updateFromForm (int $field_id, string $active_language, ilPropertyFormGUI $form) | |
| getTitleForLanguage (int $field_id, string $language) | |
| getDescriptionForLanguage (int $field_id, string $language) | |
Static Public Member Functions | |
| static | getInstanceByRecordId (int $record_id) | 
Private Member Functions | |
| __construct (int $record_id) | |
Private Attributes | |
| int | $record_id | 
| ilAdvancedMDRecord | $record | 
| array | $definitions | 
| array | $translations = [] | 
| ilAdvancedMDRecordTranslations | $record_translations | 
| string | $default_language = '' | 
| ilDBInterface | $db | 
| ilLanguage | $lng | 
Static Private Attributes | |
| static array | $instances = [] | 
Class ilAdvancedMDFieldTranslations.
Definition at line 10 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  private | 
Definition at line 43 of file class.ilAdvancedMDFieldTranslations.php.
References $DIC, $record_id, ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ILIAS\Repository\lng(), and read().
 Here is the call graph for this function:| ilAdvancedMDFieldTranslations::getActivatedLanguages | ( | int | $field_id, | 
| bool | $with_default = true  | 
        ||
| ) | 
| int | $field_id | |
| bool | $with_default | 
Definition at line 79 of file class.ilAdvancedMDFieldTranslations.php.
References getTranslations().
 Here is the call graph for this function:| ilAdvancedMDFieldTranslations::getDefaultLanguage | ( | ) | 
Definition at line 69 of file class.ilAdvancedMDFieldTranslations.php.
References $default_language.
Referenced by getDescriptionForLanguage(), getFormTranslationInfo(), getTitleForLanguage(), modifyTranslationInfoForDescription(), and modifyTranslationInfoForTitle().
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::getDefaultTranslation | ( | int | $field_id | ) | 
Definition at line 121 of file class.ilAdvancedMDFieldTranslations.php.
References $default_language, and getTranslations().
Referenced by modifyTranslationInfoForDescription(), and modifyTranslationInfoForTitle().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::getDescriptionForLanguage | ( | int | $field_id, | 
| string | $language | ||
| ) | 
Definition at line 247 of file class.ilAdvancedMDFieldTranslations.php.
References getDefaultLanguage(), and getTranslation().
 Here is the call graph for this function:| ilAdvancedMDFieldTranslations::getFormTranslationInfo | ( | int | $field_id, | 
| string | $active_language | ||
| ) | 
Definition at line 160 of file class.ilAdvancedMDFieldTranslations.php.
References $txt, getDefaultLanguage(), getTranslations(), and ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 56 of file class.ilAdvancedMDFieldTranslations.php.
References $record_id.
Referenced by ilAdvancedMDFieldDefinition\addToFieldDefinitionForm(), ilLuceneAdvancedSearchFields\getFields(), ilObjectMetaDataBlockGUI\getLegacyContent(), ilAdvancedMDFieldDefinitionText\initADTDefinition(), ilAdvancedMDSettingsGUI\initFieldForm(), ilAdvancedMDRecordGUI\parseAppointmentPresentationa(), ilAdvancedMDFieldTableGUI\parseDefinitions(), ilAdvancedMDRecordGUI\parseEditor(), ilAdvancedMDRecordGUI\parseFilter(), ilAdvancedMDRecordGUI\parseInfoPage(), ilAdvancedMDRecordGUI\parseSearch(), ilAdvancedMDRecordGUI\parseTableHead(), ilAdvancedMDSettingsGUI\saveField(), ilAdvancedMDFieldDefinition\toXML(), and ilAdvancedMDSettingsGUI\updateField().
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::getRecordId | ( | ) | 
Definition at line 64 of file class.ilAdvancedMDFieldTranslations.php.
References $record_id.
Referenced by read().
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::getTitleForLanguage | ( | int | $field_id, | 
| string | $language | ||
| ) | 
Definition at line 227 of file class.ilAdvancedMDFieldTranslations.php.
References getDefaultLanguage(), and getTranslation().
 Here is the call graph for this function:| ilAdvancedMDFieldTranslations::getTranslation | ( | int | $field_id, | 
| string | $lang_key | ||
| ) | 
Definition at line 99 of file class.ilAdvancedMDFieldTranslations.php.
References isConfigured().
Referenced by getDescriptionForLanguage(), getTitleForLanguage(), modifyTranslationInfoForDescription(), modifyTranslationInfoForTitle(), and updateFromForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::getTranslations | ( | int | $field_id | ) | 
Definition at line 110 of file class.ilAdvancedMDFieldTranslations.php.
Referenced by getActivatedLanguages(), getDefaultTranslation(), and getFormTranslationInfo().
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::isConfigured | ( | int | $field_id, | 
| string | $lang_key | ||
| ) | 
Definition at line 91 of file class.ilAdvancedMDFieldTranslations.php.
Referenced by getTranslation().
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::modifyTranslationInfoForDescription | ( | int | $field_id, | 
| ilPropertyFormGUI | $form, | ||
| ilTextAreaInputGUI | $description, | ||
| string | $active_language | ||
| ) | 
Definition at line 197 of file class.ilAdvancedMDFieldTranslations.php.
References getDefaultLanguage(), getDefaultTranslation(), getTranslation(), ilFormPropertyGUI\setInfo(), and ilTextAreaInputGUI\setValue().
 Here is the call graph for this function:| ilAdvancedMDFieldTranslations::modifyTranslationInfoForTitle | ( | int | $field_id, | 
| ilPropertyFormGUI | $form, | ||
| ilTextInputGUI | $title, | ||
| string | $active_language | ||
| ) | 
Definition at line 178 of file class.ilAdvancedMDFieldTranslations.php.
References getDefaultLanguage(), getDefaultTranslation(), getTranslation(), ilFormPropertyGUI\setInfo(), and ilTextInputGUI\setValue().
 Here is the call graph for this function:| ilAdvancedMDFieldTranslations::read | ( | ) | 
Definition at line 131 of file class.ilAdvancedMDFieldTranslations.php.
References $res, ilAdvancedMDRecord\_getInstanceByRecordId(), ilDBConstants\FETCHMODE_OBJECT, ilAdvancedMDFieldDefinition\getInstancesByRecordId(), getRecordId(), ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDFieldTranslations::updateFromForm | ( | int | $field_id, | 
| string | $active_language, | ||
| ilPropertyFormGUI | $form | ||
| ) | 
Definition at line 216 of file class.ilAdvancedMDFieldTranslations.php.
References ilPropertyFormGUI\getInput(), and getTranslation().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 36 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  private | 
Definition at line 31 of file class.ilAdvancedMDFieldTranslations.php.
Referenced by getDefaultLanguage(), and getDefaultTranslation().
      
  | 
  private | 
Definition at line 23 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  staticprivate | 
Definition at line 15 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  private | 
Definition at line 41 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  private | 
Definition at line 18 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  private | 
Definition at line 17 of file class.ilAdvancedMDFieldTranslations.php.
Referenced by __construct(), getInstanceByRecordId(), and getRecordId().
      
  | 
  private | 
Definition at line 30 of file class.ilAdvancedMDFieldTranslations.php.
      
  | 
  private | 
Definition at line 28 of file class.ilAdvancedMDFieldTranslations.php.