full.php 413 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * List photos in an album for RSS
  4. *
  5. * @uses $vars['entity'] TidypicsAlbum
  6. *
  7. * @author Cash Costello
  8. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
  9. */
  10. $limit = (int)get_input('limit', 20);
  11. echo elgg_list_entities(array(
  12. 'type' => 'object',
  13. 'subtype' => 'image',
  14. 'container_guid' => $vars['entity']->getGUID(),
  15. 'limit' => $limit,
  16. 'full_view' => false,
  17. ));