symfonycontrib / voting-bundle
Symfony2 Voting Bundle
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- symfony/symfony: ~2.3
This package is not auto-updated.
Last update: 2024-04-22 13:39:52 UTC
README
A port of the awesome VotingApi Drupal module. https://drupal.org/project/votingapi
Vote Value Types
Percent - Votes in a specific range. Values are stored in a 1-100 range, but can be represented as any scale when shown to the user.
Points - Votes that contribute points/tokens/karma towards a total. May be positive or negative.
Methods
Count - The number of votes cast for a given piece of content.
Average - The average vote cast on a given piece of content.
Sum - The total of all votes for a given piece of content.