Ifd:addLanguages
From dev.ifd-library.org
API version 2
public IfdLanguage [] addLanguages ( IfdLanguage [] languages, String session_id ) throws IfdServerException
Function to add one or more languages to IFD Library.
Input:
- languages [] - Array of one or many IfdLanguage.
- session_id - The session id for the active user
Returns:
- IfdLanguage [] - An array of IfdLanguages
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:
- session_id - The session id for the active user
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:
- IfdLanguage [] -List of fully IfdLanguages added with the call.
Difference against v.2.00
- (39) The function can create language without specified name_in_self. In v.2.00 the attribute was mandatory
Comments: Talk:Ifd:addLanguage