photo = $photo;
}
public function setPreviousPhotoUrl($url)
{
$this->previous_photo_url = $url;
}
public function setNextPhotoUrl($url)
{
$this->next_photo_url = $url;
}
public function setIsAssetOwner($flag)
{
$this->is_asset_owner = $flag;
}
public function html_main()
{
$this->photoNav();
$this->photo();
echo '
';
}
public function setExif(EXIF $exif)
{
$this->exif = $exif;
}
public function userActions()
{
if (!$this->photo->isOwnedBy(Registry::get('user')))
return;
echo '