/** * Sets album as gallery thumb for each gallery associated with given album * * @param Tx_Yag_Domain_Model_Album $album Album to set as thumb for all galleries associated with this album * @rbacNeedsAccess * @rbacObject Gallery * @rbacAction edit */ public function setAlbumAsGalleryThumbAction(Tx_Yag_Domain_Model_Album $album) { $album->getGallery()->setThumbAlbum($album); $this->galleryRepository->update($album->getGallery()); $this->returnDataAndShutDown(); }