PHP Class Newscoop\GimmeBundle\Controller\SlideshowsController

Inheritance: extends FOS\RestBundle\Controller\FOSRestController
Exibir arquivo Open project: sourcefabric/newscoop

Public Methods

Method Description
getArticleSlideshowsAction ( Request $request, $number, $language = null ) : array Get article slideshows
getSlideshowItemsAction ( Request $request, $id ) Get slideshow and its items

Method Details

getArticleSlideshowsAction() public method

Get article slideshows
public getArticleSlideshowsAction ( Request $request, $number, $language = null ) : array
$request Symfony\Component\HttpFoundation\Request
return array

getSlideshowItemsAction() public method

Returns array with items under "items" key and requested slideshow "id", "title" and "summary"
public getSlideshowItemsAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request