PHP Класс eZ\Publish\Core\SignalSlot\URLWildcardService

Наследование: implements eZ\Publish\API\Repository\URLWildcardService
Показать файл Открыть проект

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

Свойство Тип Описание
$service eZ\Publish\API\Repository\URLWildcardService Aggregated service.
$signalDispatcher SignalDispatcher SignalDispatcher.

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

Метод Описание
__construct ( eZ\Publish\API\Repository\URLWildcardService $service, SignalDispatcher $signalDispatcher ) Constructor.
create ( string $sourceUrl, string $destinationUrl, boolean $forward = false ) : eZ\Publish\API\Repository\Values\Content\UrlWildcard Creates a new url wildcard.
load ( mixed $id ) : eZ\Publish\API\Repository\Values\Content\UrlWildcard Loads a url wild card.
loadAll ( integer $offset, integer $limit ) : eZ\Publish\API\Repository\Values\Content\UrlWildcard[] Loads all url wild card (paged).
remove ( eZ\Publish\API\Repository\Values\Content\URLWildcard $urlWildcard ) removes an url wildcard.
translate ( mixed $url ) : eZ\Publish\API\Repository\Values\Content\URLWildcardTranslationResult translates an url to an existing uri resource based on the source/destination patterns of the url wildcard. If the resulting url is an alias it will be translated to the system uri.

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

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

Construct service object from aggregated service and signal dispatcher
public __construct ( eZ\Publish\API\Repository\URLWildcardService $service, SignalDispatcher $signalDispatcher )
$service eZ\Publish\API\Repository\URLWildcardService
$signalDispatcher SignalDispatcher

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

Creates a new url wildcard.
public create ( string $sourceUrl, string $destinationUrl, boolean $forward = false ) : eZ\Publish\API\Repository\Values\Content\UrlWildcard
$sourceUrl string
$destinationUrl string
$forward boolean
Результат eZ\Publish\API\Repository\Values\Content\UrlWildcard

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

Loads a url wild card.
public load ( mixed $id ) : eZ\Publish\API\Repository\Values\Content\UrlWildcard
$id mixed
Результат eZ\Publish\API\Repository\Values\Content\UrlWildcard

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

Loads all url wild card (paged).
public loadAll ( integer $offset, integer $limit ) : eZ\Publish\API\Repository\Values\Content\UrlWildcard[]
$offset integer
$limit integer
Результат eZ\Publish\API\Repository\Values\Content\UrlWildcard[]

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

removes an url wildcard.
public remove ( eZ\Publish\API\Repository\Values\Content\URLWildcard $urlWildcard )
$urlWildcard eZ\Publish\API\Repository\Values\Content\URLWildcard the url wildcard to remove

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

This method runs also configured url translations and filter
public translate ( mixed $url ) : eZ\Publish\API\Repository\Values\Content\URLWildcardTranslationResult
$url mixed
Результат eZ\Publish\API\Repository\Values\Content\URLWildcardTranslationResult

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

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

Aggregated service.
protected URLWildcardService,eZ\Publish\API\Repository $service
Результат eZ\Publish\API\Repository\URLWildcardService

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

SignalDispatcher.
protected SignalDispatcher,eZ\Publish\Core\SignalSlot $signalDispatcher
Результат SignalDispatcher