eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper Class Reference

UrlAlias Mapper. More...

Public Member Functions

 __construct (LanguageMaskGenerator $languageMaskGenerator)
 Creates a new UrlWildcard Handler. More...
 
 extractUrlAliasFromData ($data)
 Creates a UrlAlias object from database row data. More...
 
 extractUrlAliasListFromData (array $rows)
 Extracts UrlAlias objects from database $rows. More...
 

Protected Member Functions

 matchTypeAndDestination ($action)
 
 normalizePathData ($pathData)
 
 normalizePathDataRow (array &$pathElementData, array $row)
 

Protected Attributes

 $languageMaskGenerator
 

Detailed Description

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::__construct ( LanguageMaskGenerator  $languageMaskGenerator)

Creates a new UrlWildcard Handler.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator$languageMaskGenerator

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::extractUrlAliasFromData (   $data)

Creates a UrlAlias object from database row data.

Parameters
mixed[]$data
Returns

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper\extractUrlAliasListFromData().

eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::extractUrlAliasListFromData ( array  $rows)

Extracts UrlAlias objects from database $rows.

Parameters
array$rows
Returns
[]
eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::matchTypeAndDestination (   $action)
protected
Exceptions
\RuntimeException
Parameters
string$action
Returns
array

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper\extractUrlAliasFromData().

eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::normalizePathData (   $pathData)
protected
Parameters
array$pathData
Returns
array

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper\extractUrlAliasFromData().

eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::normalizePathDataRow ( array &  $pathElementData,
array  $row 
)
protected
Parameters
array$pathElementData
array$row
Returns
void

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper\normalizePathData().

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Mapper::$languageMaskGenerator
protected

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