eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias:

Public Member Functions

 matchContentInfo (ContentInfo $contentInfo)
 Not supported since UrlAlias is meaningful for location objects only. More...
 
 matchLocation (Location $location)
 Checks if a Location object matches. More...
 
 setMatchingConfig ($matchingConfig)
 Registers the matching configuration for the matcher. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\MultipleValued
 getRepository ()
 
 getValues ()
 Returns matcher's values. More...
 
 setMatchingConfig ($matchingConfig)
 Registers the matching configuration for the matcher. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\RepositoryAware
 setRepository (Repository $repository)
 

Additional Inherited Members

- Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\MultipleValued
 $values
 
- Protected Attributes inherited from eZ\Publish\Core\MVC\RepositoryAware
 $repository
 

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias::matchContentInfo ( ContentInfo  $contentInfo)

Not supported since UrlAlias is meaningful for location objects only.

Parameters
\eZ\Publish\API\Repository\Values\Content\ContentInfo$contentInfo
Exceptions
\RuntimeException
Returns
boolean

Implements eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher.

eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias::matchLocation ( Location  $location)

Checks if a Location object matches.

Parameters
\eZ\Publish\API\Repository\Values\Content\Location$location
Returns
boolean

Implements eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher.

eZ\Publish\Core\MVC\Symfony\View\ContentViewProvider\Configured\Matcher\UrlAlias::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

Implements eZ\Publish\Core\MVC\Symfony\View\ViewProviderMatcher.


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