General

  eZ Systems Website
  Editor documentation


  Developer documentation

  Back to the top

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 Field Type is used to provide rating functionality.

Rating Field Type 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

Properties

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 Field Type does not support settings.

Validation

The Field Type does not support validation.

 

  • No labels