eZPublishCommunityProject  2013.4
eZ\Publish\Core\REST\Server\Controller\URLAlias Class Reference

URLAlias controller. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Server\Controller\URLAlias:
+ Collaboration diagram for eZ\Publish\Core\REST\Server\Controller\URLAlias:

Public Member Functions

 __construct (URLAliasService $urlAliasService, LocationService $locationService)
 Construct controller. More...
 
 createURLAlias ()
 Creates a new URL alias. More...
 
 deleteURLAlias ()
 The given URL alias is deleted. More...
 
 listGlobalURLAliases ()
 Returns the list of global URL aliases. More...
 
 listLocationURLAliases ()
 Returns the list of URL aliases for a location. More...
 
 loadURLAlias ()
 Returns the URL alias with the given ID. More...
 
- Public Member Functions inherited from eZ\Publish\Core\REST\Server\Controller
 setContainer (Container $container)
 
 setInputDispatcher (InputDispatcher $inputDispatcher)
 
 setRequest (HttpRequest $request)
 
 setUrlHandler (UrlHandler $urlHandler)
 

Protected Attributes

 $locationService
 
 $urlAliasService
 
- Protected Attributes inherited from eZ\Publish\Core\REST\Server\Controller
 $container
 
 $inputDispatcher
 
 $request
 
 $urlHandler
 

Detailed Description

URLAlias controller.

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Controller\URLAlias::__construct ( URLAliasService  $urlAliasService,
LocationService  $locationService 
)

Construct controller.

Parameters
\eZ\Publish\API\Repository\URLAliasService$urlAliasService
\eZ\Publish\API\Repository\LocationService$locationService

Member Function Documentation

eZ\Publish\Core\REST\Server\Controller\URLAlias::createURLAlias ( )

Creates a new URL alias.

Returns
eZ\Publish\Core\REST\Server\Controller\URLAlias::deleteURLAlias ( )

The given URL alias is deleted.

Returns
eZ\Publish\Core\REST\Server\Controller\URLAlias::listGlobalURLAliases ( )

Returns the list of global URL aliases.

Returns
eZ\Publish\Core\REST\Server\Controller\URLAlias::listLocationURLAliases ( )

Returns the list of URL aliases for a location.

Returns
eZ\Publish\Core\REST\Server\Controller\URLAlias::loadURLAlias ( )

Returns the URL alias with the given ID.

Returns

Member Data Documentation

eZ\Publish\Core\REST\Server\Controller\URLAlias::$locationService
protected
eZ\Publish\Core\REST\Server\Controller\URLAlias::$urlAliasService
protected

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