eZPublishCommunityProject  2012.12
eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher Interface Reference

Main interface for matchers to be used with View. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher:

Public Member Functions

 matchContentInfo (ContentInfo $contentInfo)
 Checks if a ContentInfo object matches. More...
 
 matchLocation (Location $location)
 Checks if a Location object matches. More...
 
 setMatchingConfig ($matchingConfig)
 Registers the matching configuration for the matcher. More...
 

Detailed Description

Main interface for matchers to be used with View.

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher::setMatchingConfig (   $matchingConfig)

Registers the matching configuration for the matcher.

It's up to the implementor to validate $matchingConfig since it can be anything configured by the end-developer.

Parameters
mixed$matchingConfig
Exceptions
\InvalidArgumentExceptionShould be thrown if $matchingConfig is not valid.
Returns
void

Implemented in eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias, and eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\MultipleValued.


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