PHP Класс eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard\Handler

Its methods operate on a representation of the url alias data structure held inside a storage engine.
Наследование: implements eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler
Показать файл Открыть проект

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

Свойство Тип Описание
$gateway Gateway UrlWildcard Gateway.
$mapper Mapper UrlWildcard Mapper.

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

Метод Описание
__construct ( Gateway $gateway, Mapper $mapper ) Creates a new UrlWildcard Handler.
create ( string $sourceUrl, string $destinationUrl, boolean $forward = false ) : eZ\Publish\SPI\Persistence\Content\UrlWildcard Creates a new url wildcard.
load ( mixed $id ) : eZ\Publish\SPI\Persistence\Content\UrlWildcard Loads a url wild card.
loadAll ( mixed $offset, mixed $limit ) : eZ\Publish\SPI\Persistence\Content\UrlWildcard[] Loads all url wild card (paged).
remove ( mixed $id ) removes an url wildcard.

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

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

Creates a new UrlWildcard Handler.
public __construct ( Gateway $gateway, Mapper $mapper )
$gateway Gateway
$mapper Mapper

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

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

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

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

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

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

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

removes an url wildcard.
public remove ( mixed $id )
$id mixed

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

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

UrlWildcard Gateway.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard $gateway
Результат Gateway

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

UrlWildcard Mapper.
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard $mapper
Результат Mapper