eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound\LogicalOr Class Reference

Siteaccess matcher that allows a combination of matchers, with a logical OR. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound\LogicalOr:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound\LogicalOr:

Public Member Functions

 match ()
 Returns matched Siteaccess or false if no siteaccess could be matched. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound
 __construct (array $config)
 
 analyseLink ($linkUri)
 Analyses $linkUri when generating a link to a route, in order to have the siteaccess part back in the URI. More...
 
 analyseURI ($uri)
 Analyses $uri and removes the siteaccess part, if needed. More...
 
 getName ()
 Returns the matcher's name. More...
 
 getSubMatchers ()
 Returns all used sub-matchers. More...
 
 setMatcherBuilder (MatcherBuilderInterface $matcherBuidler)
 Injects the matcher builder, to allow the Compound matcher to properly build the underlying matchers. More...
 
 setRequest (SimplifiedRequest $request)
 Injects the request object to match against. More...
 

Public Attributes

const NAME = 'logicalOr'
 

Additional Inherited Members

- Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound
 $config
 
 $matcherBuilder
 
 $matchersMap = array()
 
 $request
 
 $subMatchers = array()
 

Detailed Description

Siteaccess matcher that allows a combination of matchers, with a logical OR.

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound\LogicalOr::match ( )

Returns matched Siteaccess or false if no siteaccess could be matched.

Returns
string|false

Implements eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher.

Member Data Documentation

const eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound\LogicalOr::NAME = 'logicalOr'

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