aboutsummaryrefslogtreecommitdiff
path: root/views/default/photos/tagging/tags.php
blob: 29c9d0efba8d4dce6d01b74fceb54c5ca84eeb12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * View the tags for this image
 *
 * @uses $vars['entity']
 *
 * @author Cash Costello
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
 */

$tags = $vars['entity']->getPhotoTags();
foreach ($tags as $tag) {
	echo elgg_view('photos/tagging/tag', array('tag' => $tag));
}