Located in file /wire/modules/Fieldtype/FieldtypeComments/CommentStars.php
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Comment
class also inherits all the methods and properties of: WireData and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Comment | string | Class used for the renderCount() method | |
Comment | string | Plural count label | |
Comment | string | Single count label | |
Comment | string | Star details label | |
Comment | int | Max number of stars | |
Comment Comment Comment | string | Render stars | |
Comment Comment Comment | string | Render a count of ratings | |
Comment Comment Comment | (nothing) | Change one of the defaults (see $defaults) | |
Comment | string | Default star output (can be overridden with HTML) | |
Comment | string | Class for stars whether on or off | |
Comment | string | Optionally use this star/HTML for OFF state | |
Comment | string | Class for inactive/off stars | |
Comment | string | Optionally use this star/HTML for ON state | |
Comment | string | Class for active/on stars | |
Comment | string | Class for partial (half lit star) | |
Comment | string | Unrated label | |
Comment | string | Wrapping element class, required for JS and CSS | |
Comment | string | Wrapping input element class, required for JS and CSS |
Additional methods and properties
In addition to the methods and properties above, Comment
API reference based on ProcessWire core version 3.0.236