PHP Class Aimeos\ShopBundle\Controller\AdminController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Mostra file Open project: aimeos/aimeos-symfony2

Public Methods

Method Description
indexAction ( ) : Response Returns the initial HTML view for the admin interface.

Protected Methods

Method Description
isAdmin ( ) : boolean Checks if the used is authenticated and has the admin role

Method Details

indexAction() public method

Returns the initial HTML view for the admin interface.
public indexAction ( ) : Response
return Response Generated HTML page for the admin interface

isAdmin() protected method

Checks if the used is authenticated and has the admin role
protected isAdmin ( ) : boolean
return boolean True if authenticated and is admin, false if not