Elgg  Version 3.0
admin_exception.php
Go to the documentation of this file.
1 <?php
15 if (!$exception instanceof Throwable) {
16  return;
17 }
18 
19 ?>
20 <div class="elgg-messages-exception">
21  <span title="Unrecoverable Error">
22  <?php echo elgg_echo('exception:contact_admin'); ?>
23  <br/><br/>
24  Exception at time <?php echo date(DATE_W3C, elgg_extract('ts', $vars)); ?>.
25  </span>
26 </div>
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$exception
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