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

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

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

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 méthode

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

Property Details

$contentService protected_oe property

protected ContentService,eZ\Publish\API\Repository $contentService
Résultat eZ\Publish\API\Repository\ContentService

$locationService protected_oe property

protected LocationService,eZ\Publish\API\Repository $locationService
Résultat eZ\Publish\API\Repository\LocationService

$logger protected_oe property

protected LoggerInterface,Psr\Log $logger
Résultat Psr\Log\LoggerInterface

$urlAliasRouter protected_oe property

protected UrlAliasRouter,eZ\Publish\Core\MVC\Symfony\Routing $urlAliasRouter
Résultat eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter