eZPublishCommunityProject  2013.5
eZ\Publish\Core\MVC\Symfony\FieldType\Page\ParameterProvider Class Reference

View parameter provider for Page fieldtype. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\FieldType\Page\ParameterProvider:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\FieldType\Page\ParameterProvider:

Public Member Functions

 __construct (PageService $pageService)
 
 getViewParameters (Field $field)
 Returns a hash of parameters to inject to the associated fieldtype's view template. More...
 

Protected Attributes

 $pageService
 

Detailed Description

View parameter provider for Page fieldtype.

Constructor & Destructor Documentation

eZ\Publish\Core\MVC\Symfony\FieldType\Page\ParameterProvider::__construct ( PageService  $pageService)

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\FieldType\Page\ParameterProvider::getViewParameters ( Field  $field)

Returns a hash of parameters to inject to the associated fieldtype's view template.

Returned parameters will only be available for associated field type

Key is the parameter name (the variable name exposed in the template, in the 'parameters' array). Value is the parameter's value.

Parameters
\eZ\Publish\API\Repository\Values\Content\Field$fieldThe field parameters are provided for.
Returns
array

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

Member Data Documentation

eZ\Publish\Core\MVC\Symfony\FieldType\Page\ParameterProvider::$pageService
protected

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