Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Determine instance data

User language (getLanguage)

Scroll Prev Top Next More

The function allows you to determine the user language of the user who sent the current step. In case it is a system step, the default language of the process is returned.

Parameter

Type

Description

-

-

-

The function returns the language as a string. In case of an error a JobRouterException is thrown.

Example:

$language = $this->getLanguage();