PHP Class Sulu\Bundle\ContactBundle\Controller\CountryController

Inheritance: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface
显示文件 Open project: sulu/sulu

Public Methods

Method Description
cgetAction ( ) : Response Returns list of all available countries in the system.
getAction ( integer $id ) : Response Returns country identified by code.

Method Details

cgetAction() public method

Returns list of all available countries in the system.
public cgetAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

getAction() public method

Returns country identified by code.
public getAction ( integer $id ) : Response
$id integer
return Symfony\Component\HttpFoundation\Response