Elgg  Version 3.0
language.php
Go to the documentation of this file.
1 <?php
11 if (!$item instanceof ElggUser) {
12  return;
13 }
14 
15 if (!$item->language) {
16  return;
17 }
18 
19 echo elgg_echo($item->language);
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$item
Render a user&#39;s language.
Definition: language.php:10
elgg echo
Translates a string.
Definition: languages.js:43
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131
$vars['type']
Definition: save.php:11