X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FExportController.php;h=6191d5d7973241f4582007b1db063766856e9f9b;hb=9c1547069178e8395ce4d43eac760d61e03aa2b0;hp=c8ef49a2ffcbf59d05054fbda25ec705d150f839;hpb=0a0c600887dde4cc755de0862a3301830c415882;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/ExportController.php b/src/Wallabag/CoreBundle/Controller/ExportController.php index c8ef49a2..6191d5d7 100644 --- a/src/Wallabag/CoreBundle/Controller/ExportController.php +++ b/src/Wallabag/CoreBundle/Controller/ExportController.php @@ -16,12 +16,15 @@ class ExportController extends Controller /** * Gets one entry content. * - * @param Entry $entry + * @param Entry $entry + * @param string $format * * @Route("/export/{id}.{format}", name="export_entry", requirements={ * "format": "epub|mobi|pdf|json|xml|txt|csv", * "id": "\d+" * }) + * + * @return \Symfony\Component\HttpFoundation\Response */ public function downloadEntryAction(Entry $entry, $format) { @@ -38,10 +41,15 @@ class ExportController extends Controller /** * Export all entries for current user. * + * @param string $format + * @param string $category + * * @Route("/export/{category}.{format}", name="export_entries", requirements={ * "format": "epub|mobi|pdf|json|xml|txt|csv", - * "category": "all|unread|starred|archive" + * "category": "all|unread|starred|archive|tag_entries|untagged" * }) + * + * @return \Symfony\Component\HttpFoundation\Response */ public function downloadEntriesAction($format, $category) {