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

Public Member Functions

 __construct (ViewManager $viewManager, PageService $pageService)
 
 viewBlock (Block $block, array $params=array(), array $cacheSettings=array())
 Render the block. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\Controller\Controller
 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...
 

Private Attributes

 $pageService
 
 $viewManager
 

Constructor & Destructor Documentation

eZ\Publish\Core\MVC\Symfony\Controller\PageController::__construct ( ViewManager  $viewManager,
PageService  $pageService 
)

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\Controller\PageController::viewBlock ( Block  $block,
array  $params = array(),
array  $cacheSettings = array() 
)

Render the block.

Parameters
\eZ\Publish\Core\FieldType\Page\Parts\Block$block
array$params
array$cacheSettingssettings for the HTTP cache, 'smax-age' and 'max-age' are checked.
Returns

Member Data Documentation

eZ\Publish\Core\MVC\Symfony\Controller\PageController::$pageService
private
eZ\Publish\Core\MVC\Symfony\Controller\PageController::$viewManager
private

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