eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Symfony\View\Provider\Block Interface Reference

Interface for block view providers. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\Provider\Block:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\View\Provider\Block:

Public Member Functions

 getView (PageBlock $block)
 Returns a ContentView object corresponding to $block, or null if not applicable. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\ViewProviderInterface
 match (ViewProviderMatcher $matcher, ValueObject $valueObject)
 Checks if $valueObject matches the $matcher's rules. More...
 

Detailed Description

Interface for block view providers.

Block view providers select a view for a given page block, depending on its own internal rules. Such provider is meant to work along with Page field type.

Member Function Documentation

eZ\Publish\Core\MVC\Legacy\View\Provider\Block::getView ( PageBlock  $block)

Returns a ContentView object corresponding to $block, or null if not applicable.

Parameters
\eZ\Publish\Core\FieldType\Page\Parts\Block$block
Returns
|void
Parameters
\eZ\Publish\Core\FieldType\Page\Parts\Block$block
Returns

The documentation for this interface was generated from the following files: