ILIAS  release_8 Revision v8.24
interface.ilBiblTranslationFactoryInterface.php
Go to the documentation of this file.
1<?php
29{
37 public function translate(ilBiblFieldInterface $field): string;
38
39 public function translateAttribute(ilBiblAttributeInterface $attribute): string;
40
41 public function translateAttributeString(int $type_id, ilBiblAttributeInterface $attribute): string;
42
44
46
48
49 public function translationExistsForField(ilBiblFieldInterface $field): bool;
50
52
54
57 string $language_key
59
63 public function getAllTranslationsForField(ilBiblFieldInterface $field): array;
64
69
70 public function findById(int $id): \ilBiblTranslationInterface;
71
72 public function deleteById(int $id): bool;
73}
$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...