Elgg  Version 1.11
content.php
Go to the documentation of this file.
1 <?php
6 $num_display = sanitize_int($vars['entity']->num_display, false);
7 // set default value for display number
8 if (!$num_display) {
9  $num_display = 5;
10 }
11 
13  'type' => 'user',
14  'subtype'=> null,
15  'full_view' => false,
16  'pagination' => false,
17  'limit' => $num_display
18 ));
elgg echo
Translates a string.
Definition: languages.js:43
$num_display
Banned users admin widget.
Definition: content.php:6
elgg_list_entities(array $options=array(), $getter= 'elgg_get_entities', $viewer= 'elgg_view_entity_list')
Returns a string of rendered entities.
Definition: entities.php:586
$vars['title']
Definition: content.php:19
sanitize_int($int, $signed=true)
Sanitizes an integer for database use.
Definition: database.php:161