aboutsummaryrefslogtreecommitdiff
path: root/views/rss/object/album/full.php
blob: b1f5a567b40dca87c5e24b16d6ed80c228901b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * List photos in an album for RSS
 *
 * @uses $vars['entity'] TidypicsAlbum
 *
 * @author Cash Costello
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
 */

$limit = (int)get_input('limit', 20);

echo elgg_list_entities(array(
	'type' => 'object',
	'subtype' => 'image',
	'container_guid' => $vars['entity']->getGUID(),
	'limit' => $limit,
	'full_view' => false,
));