PHP Class eZ\Publish\Core\FieldType\RichText\Converter\Link

Inheritance: implements eZ\Publish\Core\FieldType\RichText\Converter
Mostra file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$contentService eZ\Publish\API\Repository\ContentService
$locationService eZ\Publish\API\Repository\LocationService
$logger Psr\Log\LoggerInterface
$urlAliasRouter eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\ContentService $contentService, UrlAliasRouter $urlAliasRouter, Psr\Log\LoggerInterface $logger = null )
convert ( DOMDocument $document ) : DOMDocument Converts internal links (ezcontent:// and ezlocation://) to URLs.

Method Details

__construct() public method

public __construct ( eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\ContentService $contentService, UrlAliasRouter $urlAliasRouter, Psr\Log\LoggerInterface $logger = null )
$locationService eZ\Publish\API\Repository\LocationService
$contentService eZ\Publish\API\Repository\ContentService
$urlAliasRouter eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter
$logger Psr\Log\LoggerInterface

convert() public method

Converts internal links (ezcontent:// and ezlocation://) to URLs.
public convert ( DOMDocument $document ) : DOMDocument
$document DOMDocument
return DOMDocument

Property Details

$contentService protected_oe property

protected ContentService,eZ\Publish\API\Repository $contentService
return eZ\Publish\API\Repository\ContentService

$locationService protected_oe property

protected LocationService,eZ\Publish\API\Repository $locationService
return eZ\Publish\API\Repository\LocationService

$logger protected_oe property

protected LoggerInterface,Psr\Log $logger
return Psr\Log\LoggerInterface

$urlAliasRouter protected_oe property

protected UrlAliasRouter,eZ\Publish\Core\MVC\Symfony\Routing $urlAliasRouter
return eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter