Return all languages used in the publication as an array of
Language objects.
public getLanguages ( integer $p_excludeLanguageId = null, array $p_order = [], $p_published = false ) : array | ||
$p_excludeLanguageId | integer | If greater than 0, exclude the language with the given identifier from the list. |
$p_order | array | The array of order directives in the format: array('field'=>field_name, 'dir'=>order_direction) field_name can take one of the following values: bynumber, byname, byenglish_name, bycode order_direction can take one of the following values: asc, desc |
return | array |