ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
interface.ilBiblTranslationFactoryInterface.php
Go to the documentation of this file.
1<?php
2
30{
38 public function translate(ilBiblFieldInterface $field): string;
39
40 public function translateAttribute(ilBiblAttributeInterface $attribute): string;
41
42 public function translateAttributeString(int $type_id, ilBiblAttributeInterface $attribute): string;
43
45
47
49
50 public function translationExistsForField(ilBiblFieldInterface $field): bool;
51
53
55
58 string $language_key
60
64 public function getAllTranslationsForField(ilBiblFieldInterface $field): array;
65
70
71 public function findById(int $id): \ilBiblTranslationInterface;
72
73 public function deleteById(int $id): bool;
74}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
translationExistsForField(ilBiblFieldInterface $field)
translateAttribute(ilBiblAttributeInterface $attribute)
translateAttributeString(int $type_id, ilBiblAttributeInterface $attribute)
translationExistsForFieldAndSystemsLanguage(ilBiblFieldInterface $field)
translate(ilBiblFieldInterface $field)
Translates a field in the current users language in tho folowing order:
getAllTranslationsForFieldAsArray(ilBiblFieldInterface $field)
getAllTranslationsForField(ilBiblFieldInterface $field)
getInstanceForFieldAndUsersLanguage(ilBiblFieldInterface $field)
getInstanceForFieldAndSystemsLanguage(ilBiblFieldInterface $field)
translationExistsForFieldAndUsersLanguage(ilBiblFieldInterface $field)
findArCreateInstanceForFieldAndlanguage(ilBiblFieldInterface $field, string $language_key)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...