eZPublishCommunityProject  2013.5
eZ\Publish\Core\MVC\Symfony\View\Provider\Content\Configured Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\Provider\Content\Configured:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\View\Provider\Content\Configured:

Public Member Functions

 getView (ContentInfo $contentInfo, $viewType)
 Returns a ContentView object corresponding to $contentInfo, or null if not applicable. More...
 
 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...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Configured
 __construct (Repository $repository, array $matchConfig)
 

Additional Inherited Members

- Public Attributes inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\ContentBasedConfigured
const MATCHER_RELATIVE_NAMESPACE = 'eZ\\Publish\\Core\\MVC\\Symfony\\View\\ContentViewProvider\\Configured\\Matcher'
 
- Protected Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\ContentBasedConfigured
 getMatcher ($matcherIdentifier)
 Returns the matcher object. More...
 
- Protected Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Configured
 getMatcher ($matcherIdentifier)
 Returns the matcher object. More...
 
- Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\View\Provider\Configured
 $matchConfig
 
 $matchers
 
 $repository
 

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\View\Provider\Content\Configured::getView ( ContentInfo  $contentInfo,
  $viewType 
)

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

Parameters
\eZ\Publish\API\Repository\Values\Content\ContentInfo$contentInfo
string$viewTypeVariation of display for your content
Returns
|null

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

eZ\Publish\Core\MVC\Symfony\View\Provider\Content\Configured::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.


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