PHP Класс Sulu\Bundle\ContentBundle\Markup\Link\PageLinkProvider

Наследование: implements Sulu\Bundle\ContentBundle\Markup\Link\LinkProviderInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$contentRepository Sulu\Component\Content\Repository\ContentRepositoryInterface
$environment string
$requestStack Symfony\Component\HttpFoundation\RequestStack
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface

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

Метод Описание
__construct ( Sulu\Component\Content\Repository\ContentRepositoryInterface $contentRepository, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\HttpFoundation\RequestStack $requestStack, string $environment )
getConfiguration ( )
preload ( array $hrefs, $locale, $published = true )

Защищенные методы

Метод Описание
getLinkItem ( Content $content, string $locale, string $scheme ) : LinkItem Returns new link item.

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

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

public __construct ( Sulu\Component\Content\Repository\ContentRepositoryInterface $contentRepository, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\HttpFoundation\RequestStack $requestStack, string $environment )
$contentRepository Sulu\Component\Content\Repository\ContentRepositoryInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$environment string

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

public getConfiguration ( )

getLinkItem() защищенный Метод

Returns new link item.
protected getLinkItem ( Content $content, string $locale, string $scheme ) : LinkItem
$content Sulu\Component\Content\Repository\Content
$locale string
$scheme string
Результат LinkItem

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

public preload ( array $hrefs, $locale, $published = true )
$hrefs array

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

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

protected ContentRepositoryInterface,Sulu\Component\Content\Repository $contentRepository
Результат Sulu\Component\Content\Repository\ContentRepositoryInterface

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

protected string $environment
Результат string

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

protected RequestStack,Symfony\Component\HttpFoundation $requestStack
Результат Symfony\Component\HttpFoundation\RequestStack

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

protected WebspaceManagerInterface,Sulu\Component\Webspace\Manager $webspaceManager
Результат Sulu\Component\Webspace\Manager\WebspaceManagerInterface