eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Legacy\View\Provider\Block Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Legacy\View\Provider\Block:
+ Collaboration diagram for eZ\Publish\Core\MVC\Legacy\View\Provider\Block:

Public Member Functions

 match (ViewProviderMatcher $matcher, ValueObject $valueObject)
 Checks if $valueObject matches the $matcher's rules.
Parameters
\eZ\Publish\Core\MVC\Symfony\View\ViewProviderMatcher$matcher
\eZ\Publish\API\Repository\Values\ValueObject$valueObject
Exceptions
\InvalidArgumentExceptionIf $valueObject is not of expected sub-type.
Returns
bool
More...
 
 setPageService (PageService $pageService)
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Legacy\View\Provider
 __construct (Closure $legacyKernelClosure, TwigContentViewLayoutDecorator $decorator, LegacyHelper $legacyHelper, LoggerInterface $logger=null)
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Block
 getView (PageBlock $block)
 Returns a ContentView object corresponding to $block, or null if not applicable. More...
 

Protected Attributes

 $pageService
 
- Protected Attributes inherited from eZ\Publish\Core\MVC\Legacy\View\Provider
 $decorator
 
 $legacyHelper
 
 $logger
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\MVC\Legacy\View\Provider
 getLegacyKernel ()
 

Member Function Documentation

eZ\Publish\Core\MVC\Legacy\View\Provider\Block::match ( ViewProviderMatcher  $matcher,
ValueObject  $valueObject 
)

Checks if $valueObject matches the $matcher's rules.

Parameters
\eZ\Publish\Core\MVC\Symfony\View\ViewProviderMatcher$matcher
\eZ\Publish\API\Repository\Values\ValueObject$valueObject
Exceptions
\InvalidArgumentExceptionIf $valueObject is not of expected sub-type.
Returns
bool

Implements eZ\Publish\Core\MVC\Symfony\View\Provider\ViewProviderInterface.

eZ\Publish\Core\MVC\Legacy\View\Provider\Block::setPageService ( PageService  $pageService)
Parameters
\eZ\Publish\Core\FieldType\Page\PageService$pageService

Member Data Documentation

eZ\Publish\Core\MVC\Legacy\View\Provider\Block::$pageService
protected

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