Elgg  Version 2.3
no_results.php
Go to the documentation of this file.
1 <?php
7 $no_results = elgg_extract('no_results', $vars);
8 if (empty($no_results)) {
9  return;
10 }
11 
12 if ($no_results instanceof Closure) {
13  echo $no_results();
14  return;
15 }
16 
17 echo "<p class='elgg-no-results'>$no_results</p>";
$no_results
No results view.
Definition: no_results.php:7
$vars['entity']
elgg echo
Translates a string.
Definition: languages.js:48
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:1375