Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This FieldType is used to provide rating functionality.

This FieldType does not provide the APIs for actual rating, this part is provided by Legacy Stack extension that can be found at https://github.com/ezsystems/ezstarrating.

NameInternal nameExpected input
Rating

ezsrrating

boolean

Input expectations

TypeDescriptionExample
booleanDenotes if the rating is enabled or disabledtrue

Value Object API

eZ\Publish\Core\FieldType\Rating\Value offers the following properties.

PropertyTypeDescriptionExample
isDisabledbooleanDenotes if the rating is enabled or disabledtrue

Hash format

Hash matches the Value Object, having only one property:

  • isDisabled

Settings

The FieldType does not support settings.

Validation

The FieldType does not support validation.

  • No labels