eZPublishCommunityProject  2013.6
eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler Class Reference
+ Inheritance diagram for eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler:
+ Collaboration diagram for eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler:

Public Member Functions

 __construct (Handler $handler, Backend $backend)
 Setups current handler instance with reference to Handler object that created it. More...
 
 create ($sourceUrl, $destinationUrl, $forward=false)
 Creates a new url wildcard. More...
 
 load ($id)
 Loads a url wild card. More...
 
 loadAll ($offset=0, $limit=-1)
 Loads all url wild card (paged) More...
 
 remove ($id)
 removes an url wildcard More...
 

Protected Attributes

 $backend
 
 $handler
 

Detailed Description

See Also
eZ

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::__construct ( Handler  $handler,
Backend  $backend 
)

Setups current handler instance with reference to Handler object that created it.

Parameters
Handler$handler
Backend$backendThe storage engine backend

Member Function Documentation

eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::create (   $sourceUrl,
  $destinationUrl,
  $forward = false 
)

Creates a new url wildcard.

Parameters
string$sourceUrl
string$destinationUrl
boolean$forward
Returns

Implements eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler.

eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::load (   $id)

Loads a url wild card.

Exceptions
\eZ\Publish\API\Repository\Exceptions\NotFoundExceptionif the url wild card was not found
Parameters
mixed$id
Returns

Implements eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler.

eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::loadAll (   $offset = 0,
  $limit = -1 
)

Loads all url wild card (paged)

Parameters
int$offset
int$limit
Returns
[]

Implements eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler.

eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::remove (   $id)

removes an url wildcard

Exceptions
\eZ\Publish\API\Repository\Exceptions\NotFoundExceptionif the url wild card was not found
Parameters
mixed$id

Implements eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler.

Member Data Documentation

eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::$backend
protected
eZ\Publish\Core\Persistence\InMemory\UrlWildcardHandler::$handler
protected

The documentation for this class was generated from the following file: