eZPublishCommunityProject  2013.5
eZ\Publish\Core\MVC\Symfony\View\Provider\Location Interface Reference

Interface for location view providers. More...

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

Public Member Functions

 getView (APIContentLocation $location, $viewType)
 Returns a ContentView object corresponding to $location, 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 location view providers.

Location view providers select a view for a given location, depending on its own internal rules.

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\View\Provider\Location::getView ( APIContentLocation  $location,
  $viewType 
)

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

Parameters
\eZ\Publish\API\Repository\Values\Content\Location$location
string$viewTypeVariation of display for your content.
Returns
|null

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