eZPublishCommunityProject  2013.9
eZ\Publish\Core\REST\Server\Controller\URLWildcard Class Reference

URLWildcard controller. More...

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

Public Member Functions

 __construct (URLWildcardService $urlWildcardService)
 Construct controller. More...
 
 createURLWildcard ()
 Creates a new URL wildcard. More...
 
 deleteURLWildcard ($urlWildcardId)
 The given URL wildcard is deleted. More...
 
 listURLWildcards ()
 Returns the list of URL wildcards. More...
 
 loadURLWildcard ($urlWildcardId)
 Returns the URL wildcard with the given id. More...
 
- Public Member Functions inherited from eZ\Publish\Core\REST\Server\Controller
 setContainer (Container $container)
 
 setInputDispatcher (InputDispatcher $inputDispatcher)
 
 setRepository (Repository $repository)
 
 setRequest (Request $request=null)
 
 setRequestParser (RequestParser $requestParser)
 
 setRouter (RouterInterface $router)
 

Protected Attributes

 $urlWildcardService
 
- Protected Attributes inherited from eZ\Publish\Core\REST\Server\Controller
 $container
 
 $inputDispatcher
 
 $repository
 
 $request
 
 $requestParser
 
 $router
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\REST\Server\Controller
 getMediaType ()
 Extracts the requested media type from $request. More...
 

Detailed Description

URLWildcard controller.

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Controller\URLWildcard::__construct ( URLWildcardService  $urlWildcardService)

Construct controller.

Parameters
\eZ\Publish\API\Repository\URLWildcardService$urlWildcardService

Member Function Documentation

eZ\Publish\Core\REST\Server\Controller\URLWildcard::createURLWildcard ( )

Creates a new URL wildcard.

Exceptions
\eZ\Publish\Core\REST\Server\Exceptions\ForbiddenException
Returns
eZ\Publish\Core\REST\Server\Controller\URLWildcard::deleteURLWildcard (   $urlWildcardId)

The given URL wildcard is deleted.

Parameters
$urlWildcardId
Returns
eZ\Publish\Core\REST\Server\Controller\URLWildcard::listURLWildcards ( )

Returns the list of URL wildcards.

Returns
eZ\Publish\Core\REST\Server\Controller\URLWildcard::loadURLWildcard (   $urlWildcardId)

Returns the URL wildcard with the given id.

Parameters
$urlWildcardId
Returns

Member Data Documentation

eZ\Publish\Core\REST\Server\Controller\URLWildcard::$urlWildcardService
protected

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