Let the platform do the work

get_language_definition

Overview

Retrieves the language label strings for the specified modules.

Available APIs

  • REST

Definition

get_available_modules(session, modules, md5)

Parameters

Name Type Description
session String Session ID returned by a previous login call.
modules Array The list of modules to retrieve language definitions for.
md5 Boolean Setting this to true will return an MD5 hash of the modules labels strings instead of the label strings themselves.

Result

Name Type Description
result Array The call result. Contains a list of modules.
result[] Array or String The list of language definitions or MD5 hashes. This is dependent on the 'md5' parameter.

Change Log

Version Change
v3_1 Added get_language_definition method.

Examples

PHP

$get_language_definition_parameters = array(
    //Session id
    'session' => $session_id,

    //The list of modules
    'modules' => array(
        'Accounts'
    ),

    //Whether to return the results as an MD5 hash
    'md5' => false,
);

Topics