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

This FieldType is used to provide rating functionality.

Rating 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

Table of contents:

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

Validation

The FieldType does not support validation.