PHP Class Newscoop\GimmeBundle\Controller\SectionsController

Inheritance: extends FOS\RestBundle\Controller\FOSRestController
Mostrar archivo Open project: sourcefabric/newscoop

Public Methods

Method Description
getSectionsAction ( Request $request ) Get Sections
getSectionsArticlesAction ( Request $request, $number, $language ) Get section articles

Method Details

getSectionsAction() public method

Get Sections
public getSectionsAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getSectionsArticlesAction() public method

Returns array with articles under "items" key and requested section "id" and "title"
public getSectionsArticlesAction ( Request $request, $number, $language )
$request Symfony\Component\HttpFoundation\Request