eZPublishCommunityProject  2013.4
eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry:

Public Member Functions

 getParameterProvider ($fieldTypeIdentifier)
 Returns parameter provider for given field type identifier. More...
 
 hasParameterProvider ($fieldTypeIdentifier)
 Checks if a parameter provider is set for a given field type identifier. More...
 
 setParameterProvider (ParameterProviderInterface $parameterProvider, $fieldTypeIdentifier)
 Sets a parameter provider for given field type identifier. More...
 

Protected Attributes

 $providers = array()
 

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry::getParameterProvider (   $fieldTypeIdentifier)

Returns parameter provider for given field type identifier.

Parameters
string$fieldTypeIdentifier
Exceptions
\InvalidArgumentExceptionIf no parameter provider is provided for $fieldTypeIdentifier.
Returns

Implements eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistryInterface.

eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry::hasParameterProvider (   $fieldTypeIdentifier)

Checks if a parameter provider is set for a given field type identifier.

Parameters
string$fieldTypeIdentifier
Returns
bool

Implements eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistryInterface.

eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry::setParameterProvider ( ParameterProviderInterface  $parameterProvider,
  $fieldTypeIdentifier 
)

Sets a parameter provider for given field type identifier.

Parameters
\eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderInterface$parameterProvider
string$fieldTypeIdentifier

Implements eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistryInterface.

Member Data Documentation

eZ\Publish\Core\MVC\Symfony\FieldType\View\ParameterProviderRegistry::$providers = array()
protected

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