PHP Класс eZ\Publish\Core\FieldType\RichText\Converter\Link

Наследование: implements eZ\Publish\Core\FieldType\RichText\Converter
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contentService eZ\Publish\API\Repository\ContentService
$locationService eZ\Publish\API\Repository\LocationService
$logger Psr\Log\LoggerInterface
$urlAliasRouter eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Converts internal links (ezcontent:// and ezlocation://) to URLs.
public convert ( DOMDocument $document ) : DOMDocument
$document DOMDocument
Результат DOMDocument

Описание свойств

$contentService защищенное свойство

protected ContentService,eZ\Publish\API\Repository $contentService
Результат eZ\Publish\API\Repository\ContentService

$locationService защищенное свойство

protected LocationService,eZ\Publish\API\Repository $locationService
Результат eZ\Publish\API\Repository\LocationService

$logger защищенное свойство

protected LoggerInterface,Psr\Log $logger
Результат Psr\Log\LoggerInterface

$urlAliasRouter защищенное свойство

protected UrlAliasRouter,eZ\Publish\Core\MVC\Symfony\Routing $urlAliasRouter
Результат eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter