| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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:Public Member Functions | |
| __construct (ilBiblFieldFactoryInterface $field_factory) | |
| ilBiblTranslationFactory constructor.  More... | |
| translate (ilBiblFieldInterface $field) | |
| Translates a field in the current users language in tho folowing order:  More... | |
| translateAttribute (ilBiblAttributeInterface $attribute) | |
| translateAttributeString (int $type_id, ilBiblAttributeInterface $attribute) | |
| getFieldFactory () | |
| translationExistsForFieldAndUsersLanguage (ilBiblFieldInterface $field) | |
| translationExistsForFieldAndSystemsLanguage (ilBiblFieldInterface $field) | |
| translationExistsForField (ilBiblFieldInterface $field) | |
| getInstanceForFieldAndUsersLanguage (ilBiblFieldInterface $field) | |
| getInstanceForFieldAndSystemsLanguage (ilBiblFieldInterface $field) | |
| findArCreateInstanceForFieldAndlanguage (ilBiblFieldInterface $field, string $language_key) | |
| getAllTranslationsForField (ilBiblFieldInterface $field) | |
| getAllTranslationsForFieldAsArray (ilBiblFieldInterface $field) | |
| findById (int $id) | |
| deleteById (int $id) | |
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 | ) | 
Implements ilBiblTranslationFactoryInterface.
Definition at line 192 of file class.ilBiblTranslationFactory.php.
| ilBiblTranslationFactory::findArCreateInstanceForFieldAndlanguage | ( | ilBiblFieldInterface | $field, | 
| string | $language_key | ||
| ) | 
Implements ilBiblTranslationFactoryInterface.
Definition at line 141 of file class.ilBiblTranslationFactory.php.
References getCollectionOfTranslationsForField(), and ilBiblFieldInterface\getId().
 Here is the call graph for this function:| ilBiblTranslationFactory::findById | ( | int | $id | ) | 
PhpIncompatibleReturnTypeInspection
Implements ilBiblTranslationFactoryInterface.
Definition at line 183 of file class.ilBiblTranslationFactory.php.
References ActiveRecord\findOrFail().
 Here is the call graph for this function:| ilBiblTranslationFactory::getAllTranslationsForField | ( | ilBiblFieldInterface | $field | ) | 
Implements ilBiblTranslationFactoryInterface.
Definition at line 162 of file class.ilBiblTranslationFactory.php.
References getCollectionOfTranslationsForField().
 Here is the call graph for this function:| ilBiblTranslationFactory::getAllTranslationsForFieldAsArray | ( | ilBiblFieldInterface | $field | ) | 
Implements ilBiblTranslationFactoryInterface.
Definition at line 170 of file class.ilBiblTranslationFactory.php.
References getCollectionOfTranslationsForField().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 175 of file class.ilBiblTranslationFactory.php.
References ilBiblFieldInterface\getId(), and ActiveRecord\where().
Referenced by findArCreateInstanceForFieldAndlanguage(), getAllTranslationsForField(), getAllTranslationsForFieldAsArray(), 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 | ) | 
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 | ) | 
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 | ) | 
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 | ) | 
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 | ) | 
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().