|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilBiblTranslationFactory:
Collaboration diagram for ilBiblTranslationFactory:Protected Attributes | |
| ILIAS DI Container | $dic |
| ilBiblFieldFactoryInterface | $field_factory |
Private Member Functions | |
| translateInCore (ilBiblFieldInterface $field) | |
| getCollectionOfTranslationsForField (ilBiblFieldInterface $field) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilBiblTranslationFactory
Definition at line 23 of file class.ilBiblTranslationFactory.php.
| ilBiblTranslationFactory::__construct | ( | ilBiblFieldFactoryInterface | $field_factory | ) |
ilBiblTranslationFactory constructor.
Definition at line 31 of file class.ilBiblTranslationFactory.php.
References $DIC, and $field_factory.
| ilBiblTranslationFactory::deleteById | ( | int | $id | ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 192 of file class.ilBiblTranslationFactory.php.
References $id.
| ilBiblTranslationFactory::findArCreateInstanceForFieldAndlanguage | ( | ilBiblFieldInterface | $field, |
| string | $language_key | ||
| ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 141 of file class.ilBiblTranslationFactory.php.
References ilBiblFieldInterface\getId().
Here is the call graph for this function:| ilBiblTranslationFactory::findById | ( | int | $id | ) |
@inheritDoc
@noinspection PhpIncompatibleReturnTypeInspection
Implements ilBiblTranslationFactoryInterface.
Definition at line 183 of file class.ilBiblTranslationFactory.php.
References $id, and ActiveRecord\findOrFail().
Here is the call graph for this function:| ilBiblTranslationFactory::getAllTranslationsForField | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 162 of file class.ilBiblTranslationFactory.php.
| ilBiblTranslationFactory::getAllTranslationsForFieldAsArray | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 170 of file class.ilBiblTranslationFactory.php.
|
private |
Definition at line 175 of file class.ilBiblTranslationFactory.php.
References ilBiblFieldInterface\getId(), and ActiveRecord\where().
Referenced by getInstanceForFieldAndSystemsLanguage(), getInstanceForFieldAndUsersLanguage(), and translationExistsForField().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBiblTranslationFactory::getFieldFactory | ( | ) |
Implements ilBiblTranslationFactoryInterface.
Definition at line 71 of file class.ilBiblTranslationFactory.php.
References $field_factory.
Referenced by translateAttributeString(), and translateInCore().
Here is the caller graph for this function:| ilBiblTranslationFactory::getInstanceForFieldAndSystemsLanguage | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
@noinspection PhpIncompatibleReturnTypeInspection
Implements ilBiblTranslationFactoryInterface.
Definition at line 127 of file class.ilBiblTranslationFactory.php.
References $DIC, $lng, and getCollectionOfTranslationsForField().
Referenced by translate(), and translationExistsForFieldAndSystemsLanguage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBiblTranslationFactory::getInstanceForFieldAndUsersLanguage | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
@noinspection PhpIncompatibleReturnTypeInspection
Implements ilBiblTranslationFactoryInterface.
Definition at line 114 of file class.ilBiblTranslationFactory.php.
References $DIC, and getCollectionOfTranslationsForField().
Referenced by translate(), and translationExistsForFieldAndUsersLanguage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBiblTranslationFactory::translate | ( | ilBiblFieldInterface | $field | ) |
Translates a field in the current users language in tho folowing order:
Implements ilBiblTranslationFactoryInterface.
Definition at line 38 of file class.ilBiblTranslationFactory.php.
References ilBiblFieldInterface\getIdentifier(), getInstanceForFieldAndSystemsLanguage(), getInstanceForFieldAndUsersLanguage(), translateInCore(), translationExistsForFieldAndSystemsLanguage(), and translationExistsForFieldAndUsersLanguage().
Referenced by translateAttribute(), and translateAttributeString().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBiblTranslationFactory::translateAttribute | ( | ilBiblAttributeInterface | $attribute | ) |
Implements ilBiblTranslationFactoryInterface.
Definition at line 55 of file class.ilBiblTranslationFactory.php.
References translate().
Here is the call graph for this function:| ilBiblTranslationFactory::translateAttributeString | ( | int | $type_id, |
| ilBiblAttributeInterface | $attribute | ||
| ) |
Implements ilBiblTranslationFactoryInterface.
Definition at line 63 of file class.ilBiblTranslationFactory.php.
References getFieldFactory(), and translate().
Here is the call graph for this function:
|
private |
Definition at line 76 of file class.ilBiblTranslationFactory.php.
References getFieldFactory(), and ilBiblFieldInterface\getIdentifier().
Referenced by translate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBiblTranslationFactory::translationExistsForField | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 106 of file class.ilBiblTranslationFactory.php.
References getCollectionOfTranslationsForField().
Here is the call graph for this function:| ilBiblTranslationFactory::translationExistsForFieldAndSystemsLanguage | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 98 of file class.ilBiblTranslationFactory.php.
References getInstanceForFieldAndSystemsLanguage().
Referenced by translate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBiblTranslationFactory::translationExistsForFieldAndUsersLanguage | ( | ilBiblFieldInterface | $field | ) |
@inheritDoc
Implements ilBiblTranslationFactoryInterface.
Definition at line 90 of file class.ilBiblTranslationFactory.php.
References getInstanceForFieldAndUsersLanguage().
Referenced by translate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 25 of file class.ilBiblTranslationFactory.php.
|
protected |
Definition at line 26 of file class.ilBiblTranslationFactory.php.
Referenced by __construct(), and getFieldFactory().