aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/album_view/content.php
blob: 88c8837b3303b56b3118fa92c7fb457148bb69ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * List albums in a widget
 *
 * @author Cash Costello
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
 */

$options = array(
	'type' => 'object',
	'subtype' => 'album',
	'container_guid' => elgg_get_page_owner_guid(),
	'limit' => $vars['entity']->num_display,
	'full_view' => false,
	'pagination' => false,
);
echo elgg_list_entities($options);