General

  eZ Systems Website
  Editor documentation


  Developer documentation

  Back to the top

Skip to end of metadata
Go to start of metadata

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

PHP API Field Type 

Input expectations

TypeDescriptionExample
booleanDenotes if the rating is enabled or disabledtrue

Value Object

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.