ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilBiblTranslationFactoryInterface Interface Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilBiblTranslationFactoryInterface:
+ Collaboration diagram for ilBiblTranslationFactoryInterface:

Public Member Functions

 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)
 

Detailed Description

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 Created by PhpStorm. User: fschmid Date: 20.11.17 Time: 16:38 Class ilBiblTranslationFactory

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 28 of file interface.ilBiblTranslationFactoryInterface.php.

Member Function Documentation

◆ deleteById()

ilBiblTranslationFactoryInterface::deleteById ( int  $id)

Implemented in ilBiblTranslationFactory.

◆ findArCreateInstanceForFieldAndlanguage()

ilBiblTranslationFactoryInterface::findArCreateInstanceForFieldAndlanguage ( ilBiblFieldInterface  $field,
string  $language_key 
)

Implemented in ilBiblTranslationFactory.

◆ findById()

ilBiblTranslationFactoryInterface::findById ( int  $id)

Implemented in ilBiblTranslationFactory.

◆ getAllTranslationsForField()

ilBiblTranslationFactoryInterface::getAllTranslationsForField ( ilBiblFieldInterface  $field)
Returns
[]

Implemented in ilBiblTranslationFactory.

◆ getAllTranslationsForFieldAsArray()

ilBiblTranslationFactoryInterface::getAllTranslationsForFieldAsArray ( ilBiblFieldInterface  $field)
Returns
string[]

Implemented in ilBiblTranslationFactory.

◆ getFieldFactory()

ilBiblTranslationFactoryInterface::getFieldFactory ( )

Implemented in ilBiblTranslationFactory.

◆ getInstanceForFieldAndSystemsLanguage()

ilBiblTranslationFactoryInterface::getInstanceForFieldAndSystemsLanguage ( ilBiblFieldInterface  $field)

Implemented in ilBiblTranslationFactory.

◆ getInstanceForFieldAndUsersLanguage()

ilBiblTranslationFactoryInterface::getInstanceForFieldAndUsersLanguage ( ilBiblFieldInterface  $field)

Implemented in ilBiblTranslationFactory.

◆ translate()

ilBiblTranslationFactoryInterface::translate ( ilBiblFieldInterface  $field)

Translates a field in the current users language in tho folowing order:

  • if standard-field, user ILIAS ilLanguage
  • if a explicit translation in the users language is available, use this
  • if a translation is only for the systems language, us this
  • return string like "bib_year"

Implemented in ilBiblTranslationFactory.

◆ translateAttribute()

ilBiblTranslationFactoryInterface::translateAttribute ( ilBiblAttributeInterface  $attribute)

Implemented in ilBiblTranslationFactory.

◆ translateAttributeString()

ilBiblTranslationFactoryInterface::translateAttributeString ( int  $type_id,
ilBiblAttributeInterface  $attribute 
)

Implemented in ilBiblTranslationFactory.

◆ translationExistsForField()

ilBiblTranslationFactoryInterface::translationExistsForField ( ilBiblFieldInterface  $field)

Implemented in ilBiblTranslationFactory.

◆ translationExistsForFieldAndSystemsLanguage()

ilBiblTranslationFactoryInterface::translationExistsForFieldAndSystemsLanguage ( ilBiblFieldInterface  $field)

Implemented in ilBiblTranslationFactory.

◆ translationExistsForFieldAndUsersLanguage()

ilBiblTranslationFactoryInterface::translationExistsForFieldAndUsersLanguage ( ilBiblFieldInterface  $field)

Implemented in ilBiblTranslationFactory.


The documentation for this interface was generated from the following file: