eZPublishCommunityProject  2013.9
eZ\Publish\Core\MVC\Symfony\Controller\Controller Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\Controller\Controller:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\Controller\Controller:

Public Member Functions

 getConfigResolver ()
 
 getEventDispatcher ()
 
 getLogger ()
 
 getParameter ($parameterName, $defaultValue=null)
 Returns value for $parameterName and fallbacks to $defaultValue if not defined. More...
 
 getRepository ()
 
 getRequest ()
 
 getTemplateEngine ()
 
 hasParameter ($parameterName)
 Checks if $parameterName is defined. More...
 
 isGranted (AuthorizationAttribute $attribute)
 Checks if current user has granted access to provided attribute. More...
 
 render ($view, array $parameters=array(), Response $response=null)
 Renders a view. More...
 

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\Controller\Controller::getConfigResolver ( )
eZ\Publish\Core\MVC\Symfony\Controller\Controller::getEventDispatcher ( )
eZ\Publish\Core\MVC\Symfony\Controller\Controller::getLogger ( )
Returns
|null
eZ\Publish\Core\MVC\Symfony\Controller\Controller::getParameter (   $parameterName,
  $defaultValue = null 
)

Returns value for $parameterName and fallbacks to $defaultValue if not defined.

Parameters
string$parameterName
mixed$defaultValue
Returns
mixed

Referenced by eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController\buildResponse(), eZ\Publish\Core\MVC\Symfony\Controller\PageController\viewBlock(), and eZ\Bundle\EzPublishLegacyBundle\Controller\LegacyTreeMenuController\viewMenu().

eZ\Publish\Core\MVC\Symfony\Controller\Controller::getTemplateEngine ( )
eZ\Publish\Core\MVC\Symfony\Controller\Controller::hasParameter (   $parameterName)

Checks if $parameterName is defined.

Parameters
string$parameterName
Returns
boolean

Referenced by eZ\Publish\Core\MVC\Symfony\Controller\Controller\getParameter().

eZ\Publish\Core\MVC\Symfony\Controller\Controller::isGranted ( AuthorizationAttribute  $attribute)

Checks if current user has granted access to provided attribute.

Parameters
\eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute$attribute
Returns
boolean

Referenced by eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController\performAccessChecks().

eZ\Publish\Core\MVC\Symfony\Controller\Controller::render (   $view,
array  $parameters = array(),
Response  $response = null 
)

Renders a view.

Parameters
string$viewThe view name
array$parametersAn array of parameters to pass to the view
\Symfony\Component\HttpFoundation\Response$response
Returns

The documentation for this class was generated from the following file: