eZPublishCommunityProject  2012.12
eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map:

Public Member Functions

 __construct (array $map)
 Constructor. More...
 
 match ()
 Returns matching Siteaccess. More...
 
 setMapKey ($key)
 Injects the key that will be used for matching against the map configuration. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher
 getName ()
 Returns the matcher's name. More...
 
 setRequest (SimplifiedRequest $request)
 Injects the request object to match against. More...
 

Protected Attributes

 $key
 
 $map
 

Constructor & Destructor Documentation

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map::__construct ( array  $map)

Constructor.

Parameters
array$mapMap used for matching.

Member Function Documentation

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

Returns matching Siteaccess.

Returns
string|false Siteaccess matched or false.

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

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map::setMapKey (   $key)

Member Data Documentation

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map::$map
protected

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