PHP Class 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.
Inheritance: implements eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$gateway Gateway UrlWildcard Gateway.
$mapper Mapper UrlWildcard Mapper.

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

create() public method

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
return eZ\Publish\SPI\Persistence\Content\UrlWildcard

load() public method

Loads a url wild card.
public load ( mixed $id ) : eZ\Publish\SPI\Persistence\Content\UrlWildcard
$id mixed
return eZ\Publish\SPI\Persistence\Content\UrlWildcard

loadAll() public method

Loads all url wild card (paged).
public loadAll ( mixed $offset, mixed $limit ) : eZ\Publish\SPI\Persistence\Content\UrlWildcard[]
$offset mixed
$limit mixed
return eZ\Publish\SPI\Persistence\Content\UrlWildcard[]

remove() public method

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

Property Details

$gateway protected_oe property

UrlWildcard Gateway.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard $gateway
return Gateway

$mapper protected_oe property

UrlWildcard Mapper.
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard $mapper
return Mapper