Ifd:addLanguages

From dev.ifd-library.org

Jump to: navigation, search

API version 2

public IfdLanguage [] addLanguages (
                            IfdLanguage [] languages,
                            String session_id )
                  throws IfdServerException

Function to add one or more languages to IFD Library.

Input:

Returns:

API version 3

public IfdLanguage [] addLanguages (
                            String session_id,
                            IfdLanguage [] languages)
                  throws IfdServerException

EXPRESS heading

QUERY_FUNCTION addLanguages(
                      languages	: LIST OF IfdLanguage): LIST OF IfdLanguage;

The function adds more languages to IFD target population.

Input:

languages [] - list of fully specified new languages, with the following attributes for every element:

  • guid – (optional) desired global unique id of the new language, by default the value is generated;
  • name_in_english – the language unique name in English;
  • name_in_self – (optional) the language name in own;
  • language_code – the language unique code (two or three letter)

Returns:

Difference against v.2.00

  • (39) The function can create language without specified name_in_self. In v.2.00 the attribute was mandatory


Back to the API

Comments: Talk:Ifd:addLanguage